MondrianWallet::_validateSignature
is not checking the recovered public key associated with a given signature on a hash is the same as the owner's public key or not. if not, it should return SIG_VALIDATION_FAILED
value.
_validateSignature
function always returns SIG_VALIDATION_SUCCESS
. it is not checking the recovered public key associated with a given signature on a hash is the same as the owner's public key or not.
it does not return SIG_VALIDATION_FAILED
when the signature validation fails.
Even if recovered public key associated with a given signature on a hash is not same as the owner's public key, the _validateSignature
function should return SIG_VALIDATION_FAILED
value. but, it always return SIG_VALIDATION_SUCCESS
if we put a wrong argument _validateSignature
function, it should return SIG_VALIDATION_FAILED
value. but, it always return SIG_VALIDATION_SUCCESS
It always returns SIG_VALIDATION_SUCCESS
when the signature validation fails.
It allows an attacker to bypass the signature validation.
Not checking, the recovered public key associated with a given signature on a hash is the same as the owner's public key or not.
Manual Review
Update the MondrianWallet::_validateSignature
function, to return a SIG_VALIDATION_FAILED
value when the signature validation fails.
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.