sakibcy - Anybody can register their address with a particular profileId
#319
Labels
Sponsor Confirmed
The sponsor acknowledged this issue is valid
Will Fix
The sponsor confirmed this issue will be fixed
sakibcy
High
Anybody can register their address with a particular
profileId
Impact
Anybody can register their address with a particular
profileId
.Make it vulnerable to control the profile by anyone.
PoC
There is no check if the profileID belongs to owner of the ProfileID who is trying to register an address.
https://github.com/sherlock-audit/2024-10-ethos-network/blob/main/ethos/packages/contracts/contracts/EthosProfile.sol#L373
Mitigation
Please add some cases, if it does not belong to the owner of the ProfileID it will revert.
The text was updated successfully, but these errors were encountered: