Creator fees may be burned
The royalty recipient lookup could return the zero address, and the contract would send ETH to that address, burning the funds. An attacker could not directly exploit this, but a misconfiguration could cause a portion of sale proceeds to be lost.
Submitted by Lambda
royaltyInfo, getRoyalties, or getFeeRecipients may return address(0) as the recipient address. While the value 0 is correctly handled for the royalties itself, it is not for the address. In such a case, the ETH amount will be sent to address(0), i.e. it is burned and lost.
Recommended Mitigation Steps
In your logic for determining the recipients, treat address(0) as if no recipient was returned such that the other priorities / methods take over.
HardlyDifficult (Foundation) confirmed, but disagreed with severity and commented:
We are looking into options here to improve.
We believe this is Medium risk, burning a percent of the sale revenue is a form of leaking value. Otherwise the sale works as expected and the collector does get the NFT they purchased.
The royalty APIs we use are meant to specific which addresses should receive payments and how much they each should receive. As the warden noted, we try to ignore entries which specify a 0 amount… but did not filter out address(0) recipients with >0 requested. Originally we were thinking this was a way of requesting that a portion of the sale be burned since that seems to be what the data is proposing.
However we agree that this is more likely a configuration error. Since our market uses ETH and not ERC20 tokens, it’s unlikely that creators would actually want a portion of the proceeds burned. We are exploring a change to send the additional revenue to the seller instead of burning the funds in this scenario.
HickupHH3 (judge) decreased severity to Medium and commented:
Case of protocol leaked value: Medium severity is appropriate.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the code did not treat a zero address from the royalty API as an invalid recipient, so it sent funds to address(0).
Impact
A portion of sale revenue could be burned, leaking value from the protocol and creators, though the sale itself still completes and the buyer receives the NFT.
What the attacker needed
Royalty API returns address(0); sale uses ETH
The fix
The code should treat address(0) as no recipient and fall back to other royalty methods or send the extra revenue to the seller.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When an NFT is sold, a royalty fee is sent to the creator. The code asks a royalty API for the creator's address. If that API returns the special zero address (which means 'no address'), the code still sends the fee there, and that money is destroyed. This is a bug because the fee should go to someone else or be kept by the seller.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.