-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User can win the auction or ddos it, thanks to the cancel bid function #1379
Labels
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Something isn't working
duplicate-1323
partial-25
Incomplete articulation of vulnerability; eligible for partial credit only (25%)
upgraded by judge
Original issue severity upgraded from QA/Gas by judge
Comments
141345 marked the issue as duplicate of #962 |
alex-ppg marked the issue as not a duplicate |
alex-ppg marked the issue as duplicate of #1784 |
alex-ppg marked the issue as duplicate of #1323 |
alex-ppg marked the issue as partial-25 |
alex-ppg marked the issue as satisfactory |
alex-ppg marked the issue as partial-25 |
alex-ppg changed the severity to 3 (High Risk) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Something isn't working
duplicate-1323
partial-25
Incomplete articulation of vulnerability; eligible for partial credit only (25%)
upgraded by judge
Original issue severity upgraded from QA/Gas by judge
Lines of code
https://github.com/code-423n4/2023-10-nextgen/blob/8b518196629faa37eae39736837b24926fd3c07c/smart-contracts/AuctionDemo.sol#L124-L130
Vulnerability details
Impact
The user can win the auction by spending a small amount to do so. Or it may block the auction.
This is because you can cancel your bet. Even if the user has only one.
Proof of Concept
Case: The user wins the auction by spending a small amount on it.
Case: The user blocks the auction
Tools Used
Manual review
Recommended Mitigation Steps
Allow to users cancel their bids, if they have at least 2 active bids.
Assessed type
DoS
The text was updated successfully, but these errors were encountered: