-
Notifications
You must be signed in to change notification settings - Fork 5
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
Excess privilege to BURNER_ROLE to burn the rUSDY #409
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-85
grade-c
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
sufficient quality report
This report is of sufficient quality
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
Comments
raymondfam marked the issue as duplicate of #85 |
raymondfam marked the issue as sufficient quality report |
kirk-baird changed the severity to QA (Quality Assurance) |
kirk-baird marked the issue as grade-c |
This previously downgraded issue has been upgraded by kirk-baird |
kirk-baird changed the severity to QA (Quality Assurance) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-85
grade-c
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
sufficient quality report
This report is of sufficient quality
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
Lines of code
https://github.com/code-423n4/2023-09-ondo/blob/47d34d6d4a5303af5f46e907ac2292e6a7745f6c/contracts/usdy/rUSDY.sol#L672-L683
Vulnerability details
Impact
Valid user's shares are burnt which would be loss to them.
Proof of Concept
Since the Bot report does not explain this, we are submitting this as valid issue.
rUSDY contract has burn function which can be called by admin and burn the shares.
This is not fair. This negatively affect the valid user who is not blacklisted.
As we can see, ondo has certain restriction on the users so that only who are not blocker or sanctioned can interact with contract. others are not allowed.
May be, the burn function can burn the shares of the persons who are blacklisted or blocked after they had some shares minted.
Tools Used
Manual review.
Recommended Mitigation Steps
Instead of burning shares from any account, burn the shares from the account which are blocked or blacklisted.
Assessed type
Rug-Pull
The text was updated successfully, but these errors were encountered: