In-depth lesson · Access control
Root causes
Every point the Access control reports back under this heading, best-backed first, each with the reports it is seen in.
-
Repository wiki settings allowed public editing instead of restricting changes to collaborators.
Seen in 5 reports
-
Role records were grouped by account alone rather than by account plus resource, so the removal builder picked one non-root name and never issued a root-scoped revoke.
Seen in 5 reports
-
Services followed symbolic links or loaded files from user-writable locations without validating the target.
Seen in 5 reports
-
The factory granted the default admin role to the deployer or creator, which implicitly administers the upgrader role.
Seen in 5 reports
-
The implementation contract has no constructor calling the initializer-disabling function, so its initialize function stays callable by anyone.
Seen in 5 reports
-
The listener service accepted commands without verifying the origin or identity of the sender.
Seen in 5 reports
-
The migration built calldata from a cached subgraph snapshot of mutable registry state and never re-read the live registry before granting resolver authority.
Seen in 5 reports
-
The migration plan was built from cached indexed registry owner and resolver values and never re-read the live on-chain state before submission.
Seen in 5 reports
-
The service did not verify the identity of processes connecting to its named pipe.
Seen in 5 reports
-
The UI groups role rows by account only and builds a single revocation scoped to the first non-root name, while the contract authorises per resource.
Seen in 5 reports
-
Admin functions grant unlimited tokens or withdraw balances without timelocks, limits or recipient restrictions.
Seen in 4 reports
-
An earlier fix that blocked renouncing ownership was applied to only some contracts and missed the engine lineage, which inherited the same ownership base without an override.
Seen in 4 reports
-
Authorisation decisions were based on client-controlled values such as role fields, user identifiers, the Referer header or a context identifier.
Seen in 4 reports
-
Authorisation was enforced per HTTP method or per exact path, leaving other methods or path variants unprotected.
Seen in 4 reports
-
Endpoints authenticated the caller but did not verify that the requested object belonged to them or that their role allowed the action.
Seen in 4 reports
-
Initialise functions lacked access control and were called in separate transactions from deployment or upgrade, leaving a window for anyone to call them first.
Seen in 4 reports
-
Permission checks were too coarse, so a user holding certain explicit permissions could reach administrative actions that should have required sysadmin rights.
Seen in 4 reports
-
PowerShell exposed functions and processed user-supplied code so injected code inherited the trust of a policy-approved script.
Seen in 4 reports
-
Role-based restrictions were enforced in the frontend or UI only, leaving API endpoints open to lower-privileged callers.
Seen in 4 reports
-
Signature verification did not reject a recovered address of zero.
Seen in 4 reports
-
Stored permits are keyed only by migrator address and are not cleared when the migrator's role is revoked, so they survive and reactivate.
Seen in 4 reports
-
The admin namespace was mounted based only on the presence of an internal admin channel, ignoring the enable-admin setting.
Seen in 4 reports
-
The application searched for a required file or library in a location an attacker could write to instead of a trusted directory.
Seen in 4 reports
-
The browser process did not enforce transient user activation for several Mojo interfaces, either ignoring the return value of the activation check or omitting it.
Seen in 4 reports
-
The cap comparison is defeated because the target is hard-coded to the maximum integer, and the computed adjusted cap is never checked before forwarding to the vault.
Seen in 4 reports
-
The Data Sharing Service did not properly validate or restrict file operations.
Seen in 4 reports
-
The installer granted the Everyone group full control over service executables and libraries that a privileged service later runs.
Seen in 4 reports
-
The installer set weak file permissions, letting the Users group modify files executed by a SYSTEM service.
Seen in 4 reports
-
The key-returning function was not placed behind the application's authentication check.
Seen in 4 reports
-
The migration flow used cached or indexer-sourced V1 owner values and treated any differing owner as an intentional manager, granting a durable resolver role without checking on-chain ownership or disclosing the grantee.
Seen in 4 reports
-
The migration plan uses a manager address from cached or indexed subgraph data and never re-reads the live v1 registry owner before granting the v2 resolver role.
Seen in 4 reports
-
The mint functions accepted a caller-supplied source address and used it in a transfer without checking authorisation.
Seen in 4 reports
-
The request paths treated the controller parameter as a routing label rather than an authorisation principal and lacked the consent check other paths enforced.
Seen in 4 reports
-
The roles table grouped an account's role bits across all resources into one row and built a single name-scoped revocation, so the root-scoped revoke was never emitted.
Seen in 4 reports
-
The server issues a new session cookie on logout but does not invalidate the previous authenticated session.
Seen in 4 reports
-
The service resolved a link before checking access, so a low-privileged user could redirect a privileged file operation.
Seen in 4 reports
-
The UI merges permissions from different resources into one row and the removal transaction is built from a lossy display projection rather than the authoritative role bitmap.
Seen in 4 reports
-
The virtual hard disk driver does not restrict user access to certain files.
Seen in 4 reports
-
Two components parsed the same parameter from different places or with different rules, so the authorisation check and the data lookup used different values.
Seen in 4 reports
-
A local service dispatches commands without verifying their origin or authenticating the sender.
Seen in 3 reports
-
A privileged component loaded an OpenSSL configuration file from a directory writable by low-privileged users.
Seen in 3 reports
-
A privileged local service accepted commands without checking where they came from, so any low-privileged process could have them run with SYSTEM rights.
Seen in 3 reports
-
An unresolved resource hash was coerced to an empty string, and the save path treated that empty string as the root scope instead of failing closed.
Seen in 3 reports
-
Authentication relies on hard-coded credentials or header values embedded in the product.
Seen in 3 reports
-
Contracts inherited OpenZeppelin's Ownable2Step without the reverting renounceOwnership override that sibling contracts implement.
Seen in 3 reports
-
Critical contract ownership was assigned to a single externally owned account instead of a multisig or timelock.
Seen in 3 reports
-
Drivers did not validate the caller's privilege before acting on handles, files or registry keys.
Seen in 3 reports
-
Firmware and services shipped with fixed, shared credentials instead of unique or user-set secrets.
Seen in 3 reports
-
GraphQL mutations did not enforce the role or IP restriction applied elsewhere.
Seen in 3 reports
-
Identity fields such as name, avatar, sender or user identifier were taken from the client without binding them to the authenticated user.
Seen in 3 reports