The divideNft
function does not validate whether the provided tokenId
is valid or exists within the specified nftAddress
and also if not zero. This omission can lead to unexpected errors, unintended behavior, and potential exploitation if invalid or malicious tokenId
values are passed to the function.
An attacker could pass malicious or invalid tokenId
values to exploit the lack of validation, leading to potential denial of service or misuse of the function.
Manual
add the tokenId validation Missing Validation for tokenId
in divideNft
Function
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.