https://github.com/Cyfrin/2024-07-ark-project/blob/273b7b94986d3914d5ee737c99a59ec8728b1517/apps/blockchain/ethereum/src/Bridge.sol#L246
Bridge::cancelRequest
the function is external allowing and has no access control.
In Bridge::cancelRequest
the function is external and anyone can call it and cancel the request.
Impact: High
Likelihood: High
The attacker only needs to call Bridge::cancelRequest
in order to cancel a request.
Manual Review
Move the protocol deserialization logic to the top and use its result to check for the owner:
Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.
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.