Skip to content
Access control Write-up Intermediate

CIVNFT, Themis, Shido: When Access Control, Oracles, and Configs

Four separate smart contract exploits are described: CIVNFT had a fund-transfer function without access control, Themis had a price oracle manipulated via a Balancer pool, Shido had a lock/claim configuration error, and DEPUSDT/LEVUSDT had a public approval function lacking owner checks. Attackers could transfer funds, inflate token prices, or become approved spenders to steal tokens.

Olympix Follow

Published on blog.blockmagnates.com

This batch of exploits reads like a checklist of preventable failures. CIVNFT shipped fund-transfer functions with zero access control.

Olympix, on blog.blockmagnates.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely missing access control modifiers on sensitive functions, combined with an oracle that could be manipulated and a configuration error in token swap logic.

Impact

Over $890K was lost across the four incidents, with individual losses ranging from $105K to $370K.

What the attacker needed

Smart contract on a public blockchain; no special access needed

The fix

Sensitive functions should have modifiers restricting them to the contract owner, and oracle and configuration logic should be reviewed before deployment.

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 write-up has not been written yet. The Original tab links to the source.

These are bugs in programs that run on a blockchain (smart contracts). Some functions that move money or change approvals could be called by anyone because the code did not check who was calling. Attackers used that to take funds or trick the contract into giving them more tokens than they should get.

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.

More by Olympix

View all

24 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.