b0g0_Ctf: withdraw
Function DOS for conttracts Due to Low-Level Call with Whitespace
#39
Labels
duplicate
This issue or pull request already exists
Summary
The
withdraw
function in theBuggyNFTVault
contract uses a low-level call with a whitespace payload when transferring ETH to the user. This approach triggers the fallback function of a recipient contract, which can lead to issues if the recipient contract does not have a fallback function. Contracts without a fallback function will not be able to receive the withdrawal, causing a denial of service (DoS) for those contracts.Vulnerability Details
The
withdraw
function uses a low-level call with a whitespace payload to transfer ETH to the caller:Impact
The text was updated successfully, but these errors were encountered: