-
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
The artist can be change after the artist to sign the collection #771
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-741
partial-50
Incomplete articulation of vulnerability; eligible for partial credit only (50%)
Comments
141345 marked the issue as duplicate of #478 |
141345 marked the issue as not a duplicate |
141345 marked the issue as duplicate of #323 |
141345 marked the issue as not a duplicate |
141345 marked the issue as duplicate of #478 |
alex-ppg marked the issue as partial-50 |
alex-ppg changed the severity to 2 (Med Risk) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-741
partial-50
Incomplete articulation of vulnerability; eligible for partial credit only (50%)
Lines of code
https://github.com/code-423n4/2023-10-nextgen/blob/8b518196629faa37eae39736837b24926fd3c07c/smart-contracts/NextGenCore.sol#L143-L166
https://github.com/code-423n4/2023-10-nextgen/blob/8b518196629faa37eae39736837b24926fd3c07c/smart-contracts/NextGenCore.sol#L255-L262
Vulnerability details
Impact
In the NextGenCore contract we have the
setCollectionData
which is used among other things to set thecollectionArtistAddress
by the collection adminOn the other hand we have the
artistSignature
function that is used to sign the collection:The problem is that the
setCollectionData
function can change the artist again once the collection is signed, giving the possibility that the collection is signed by a fake artist and then this is changed by a famous one, stealing the identity of the famous artist and selling tokens in his name and signatureProof of Concept
Tools Used
Manual review
Recommended Mitigation Steps
Assessed type
ERC721
The text was updated successfully, but these errors were encountered: