Project

One World
NFTDeFi
15,000 USDC
View results
Submission Details
Severity: high
Invalid

signature malleability

Summary

https://github.com/Cyfrin/2024-11-one-world/blob/1e872c7ab393c380010a507398d4b4caca1ae32b/contracts/meta-transaction/NativeMetaTransaction.sol#L100

The ecrecover function is susceptible to signature malleability.

Vulnerability Details

The ecrecover function is susceptible to signature malleability. This means that the same message can be signed in multiple ways, allowing an attacker to change the message signature without invalidating it.

Impact

This can lead to unexpected behavior in smart contracts, such as the loss of funds or the ability to bypass access control.

Tools Used

VS code

Recommendations

Consider using OpenZeppelin's ECDSA library instead of the built-in function.

Updates

Lead Judging Commences

0xbrivan2 Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.