Deleted(Compromised) addresses can still uninvite users.
Summary
uninviteUser() does not check if the caller has been labelled as compromised, hence an address deleted from a profile would still pass all the present checks in the function and successfully uninvite a user.
s0x0mtee
Medium
Deleted(Compromised) addresses can still uninvite users.
Summary
uninviteUser()
does not check if the caller has been labelled as compromised, hence an address deleted from a profile would still pass all the present checks in the function and successfully uninvite a user.Root Cause
uninviteUser()
is under-constrained https://github.com/sherlock-audit/2024-10-ethos-network/blob/main/ethos/packages/contracts/contracts/EthosProfile.sol#L258-L280Internal pre-conditions
deletedAddress
(compromised address) has to have been registered to the profile then deletedunInvite
address needs to have been invited.External pre-conditions
Attack Path
uninviteUser()
Impact
PoC
No response
Mitigation
No response