UberOwner has too much power
The Uber Owner role in the Reality Cards protocol has excessive power, allowing it to change core contract functionality and potentially reprogram the entire system. If the Uber Owner address is compromised, an attacker could take full control of the protocol.
Submitted by tensors
The Uber Owner has too much power within the system. This makes the protocol closer to a centralized prediction market whose rules are determined by the Uber Owner. See issue page for referenced code
The above functions can be used by the Uber Owner to completely change the functionality of the system. This goes well beyond simple setting new constants and fees, the Uber Owner can basically reprogram how the entire protocol works. Not to mention if the address falls into the wrong hands.
Recommend limiting the permission of the Uber Owner to something more manageable and trustable. If upgrades to underlying contracts are required they can be done through a proxy instead, in the standard way.
mcplums (Reality Cards) disputed:
This is a subjective opinion- there is always going to be a compromise between decentralisation and the ability to respond to potential problems. The latter is especially important with a protocol that is so new.
There is no correct answer here, but the current abilities of
uberOwnerwere decided after a lot of thought and are in line with other DeFi protocols.
Splidge (Reality Cards) commented:
I’d just like to add that we did recognize the power of the UberOwner which is why it is separated from the Owner specifically so that we can add additional security to it (in the form of a multisig) and so that we can relinquish this control at the appropriate time. This was covered in the readme. And also commentedin the code.
I think the warden(s) have a valid point here. This is an incredible amount of power for a single address to yield over the protocol, even if backed by a multi-sig.
Is it no an option to 1) pause all activity, and unlock all funds allowing users to withdraw their own funds or 2) pause all activity besides withdraws and implement a time delay between that and the “rug pull” function being called.
The readme also states
Alternatively we may wish for this to be a multisig but the normal owner to not be, for convenience.Without a multisig, I believe this absolutely qualifies as a high severity issue as a compromise of a single end user address compromises the entire system, with a multisig it potentially lowers the severity down to a medium, but its still a risk that is worth highlighting in the system and for the sponsor to scrutinize if there are indeed other mitigation paths that could be taken.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the smart contract grants a single Uber Owner address the ability to modify critical functions and parameters without sufficient restrictions or delays.
Impact
If the Uber Owner address is compromised, an attacker could completely control the protocol, potentially leading to loss of funds or arbitrary changes; the presence of a multisig may reduce but not eliminate this risk.
What the attacker needed
Uber Owner address is compromised or malicious
The fix
The report recommends limiting the Uber Owner's permissions to something more manageable and trustable, and using a proxy for upgrades instead.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
In many blockchain projects, a special account called an 'owner' can change how the project works. Here, that account (called Uber Owner) can do almost anything, like change the rules completely. If someone steals that account, they could take over the whole system.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.