Property
Languagesolidity
Severitycritical
CWECWE-284: Improper Access Control
Confidence LevelHigh
Impact LevelHigh
Likelihood LevelHigh

Description#

The setMultipleAllowances() function lacks an onlyOwner modifier, meaning anyone—not just the contract owner—can call it. This allows unauthorized users to change allowances without proper permission checks.

Impact#

If exploited, an attacker could grant themselves or others unauthorized allowances, potentially gaining control over funds or resources managed by the contract. This can lead to loss of assets, unauthorized transactions, and full compromise of the contract’s integrity.