56814 sc medium users can create unauthorized accesstoken collections by exploiting abi encodepacked collision
Description
Brief
Vulnerability Details
function produce(AccessTokenInfo memory accessTokenInfo, bytes32 referralCode) external returns (address nftAddress){
FactoryParameters memory factoryParameters = _nftFactoryParameters;
factoryParameters.signerAddress.checkAccessTokenInfo(accessTokenInfo);
bytes32 hashedSalt = _metadataHash(accessTokenInfo.metadata.name, accessTokenInfo.metadata.symbol);
require(getNftInstanceInfo[hashedSalt].nftAddress == address(0), TokenAlreadyExists());
}Impact Details
Proof of Concept
Proof of Concept (unit test)
Previous57874 sc insight global metadata wipe on burn one promoter s payout clears the shared erc1155 token uri for all promoters of the same venueNext56869 sc medium hijacking deployment of accesstoken and stealing ownership to prevent further deployments
Was this helpful?