Buyer in bad faith may not accept ERC1155 #184
Labels
bug
Something isn't working
disagree with severity
Sponsor confirms validity, but disagrees with warden’s risk assessment (sponsor explain in comments)
invalid
This doesn't seem right
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
Lines of code
https://github.com/code-423n4/2022-10-blur/blob/HEAD/contracts/BlurExchange.sol#L540-L541
Vulnerability details
Impact
Refer to this code-423n4/2022-07-fractional-findings#212
A malicious proposer can start a _executeTokenTransfer() using a contract that cannot receive ERC1155 tokens, and if the execute() fails, This prevents a new order from being started.
Proof of Concept
Tools Used
vscode
Recommended Mitigation Steps
Consider saving the status of the after a failed order and implementing functions to allow the proposer to withdraw the ERC1155 tokens and eth
The text was updated successfully, but these errors were encountered: