prototype-pollution-nsec18
prototype-pollution-nsec18 copied to clipboard
Content released at NorthSec 2018 for my talk on prototype pollution
// SPDX-License-Identifier: MIT pragma solidity 0.8.8; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.3/contracts/access/Ownable.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.3/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.3/contracts/token/ERC20/IERC20.sol"; import "https://github.com/Brechtpd/base64/blob/main/base64.sol"; contract TWNFT is ERC721Enumerable, Ownable { //This token address will be checked if enough tokens are...
In your paper, you mentioned: "_The vulnerability was found and confirmed in the version 1.19.2, but the version from 1.17.x to 1.19.x are also affected. The exploit was made for...