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.
-
Raw socket capability was granted by default to hostNetwork containers, enabling man-in-the-middle attacks.
-
Raw text templating for JSON without context-aware escaping, and client-side enforcement of a server-side rule.
Seen in 1 report
-
Receipt verification counted signatures towards a minimum threshold without deduplicating them.
Seen in 1 report
-
Receiver functions use a user's existing allowance without checking that the caller is authorised to act for that user.
Seen in 1 report
-
Record edits are authorised from the resolver's internal role store rather than the registry's current owner, and transfers never revoke those roles.
-
Record-part resources resolve to an empty name, and the code uses an empty string as the sentinel for root scope instead of preserving the resource scope.
Seen in 1 report
-
Redeem and swap logic treated airdropped ERC721 tokens as ordinary deposits without checking that the caller was the authorised claimant.
Seen in 1 report
-
Redeem and withdraw handlers read the owner address from user-supplied calldata instead of forcing it to be the caller.
-
Reference clocks are stored in the same peer structure as network peers and packets from their addresses are trusted without checking they originate locally.
Seen in 1 report
-
Registration endpoints did not enforce email verification or rate limits and issued tokens directly after a multi-step flow.
-
Registration only checked current ownership and did not track that an NFT ID was already registered.
Seen in 1 report
-
Registration skipped the webRequestBlocking check when the web view instance id was non-zero, and request matching lacked a reverse filter.
Seen in 1 report
-
Registry permission semantics are bound to a bare address from indexer discovery without verifying the contract kind behind it.
Seen in 1 report
-
Remote Assistance mishandled the Mark of the Web protection mechanism, allowing it to be bypassed.
Seen in 1 report
-
Removal deleted the owner relationship but did not clear the customer's creator user id, and the lookup fell back to re-adding any matching user.
-
Removal functions only updated internal lists and never reset the unlimited approvals previously granted.
Seen in 1 report
-
Removal of the SSH config match check left the URL match function with no SSH-specific comparison of per-transfer key options.
Seen in 1 report
-
Removing a router erases its owner information, so the owner can no longer withdraw.
Seen in 1 report
-
Removing the auth component replaced the role trust policy with one lacking a condition on the identity pool.
-
Removing a share deleted the underlying folder instead of only removing the share.
Seen in 1 report
-
Replacing a project's token did not preserve redemption rights for holders of the previous token.
Seen in 1 report
-
Reports were protected only by a short alphanumeric code, with no rate limiting or stronger authentication.
-
Request IDs came from a non-cryptographic generator, and callbacks were stored in one global map without checking which tree a result came from.
Seen in 1 report
-
Request parameters were passed straight into a post query and into post meta writing without authentication.
Seen in 1 report
-
Request validation checked only the original destination for navigation mode, not the destination field.
Seen in 1 report
-
Requests to the setup wizard were trusted as privileged without checking whether setup was still in progress or the requester was authorised.
Seen in 1 report
-
Resolver authenticity was inferred from a storage slot that any contract can control.
-
Resolver-role assignments from different resources were grouped into one account row, and the revocation helper treated any non-empty name as a name-scoped revocation.
-
Resolvers did not enforce authentication or object-level authorisation, so sensitive fields were returned to unauthenticated callers.
Seen in 1 report
-
Responder identity was taken from client-controlled request fields rather than derived from the authenticated session.
-
REST endpoints for email logs checked only that a user was logged in, not their capabilities.
Seen in 1 report
-
Restricted workspace users were granted rights to manage apps and channels, letting them set up an email integration that received company mail.
Seen in 1 report
-
Restricted-mode enforcement was implemented ad hoc inside individual handlers instead of through a centralised allowlist or denylist.
Seen in 1 report
-
Restriction checks were skipped entirely when a registry address was zero, with no deny-by-default fallback.
Seen in 1 report
-
Revocation did not invalidate existing sessions or tokens, so already-authenticated clients stayed authorised.
Seen in 1 report
-
Revocation was skipped because the overridden role check returned false for roles no longer marked valid.
Seen in 1 report
-
Revoking operator status did not clear individual per-token approvals set by the operator.
-
Role assignment did not check that only an existing owner can grant the owner role, and self-invitations were accepted automatically.
Seen in 1 report
-
Role names were lower-cased into a lookup key and re-queried as a domain name, so a case variant resolved to a different name.
-
Role permissions were enforced only for the POST method, so switching the HTTP method bypassed the check.
Seen in 1 report
-
Role-based access checks were not enforced on administrative pages, relying only on the login step.
-
Role-based access control was not enforced on several API endpoints, letting low-privileged users perform higher-role actions.
-
Role-check modifiers called the check function but did not require its boolean result to be true.
-
Roles are stored against a resource derived only from the name label while ownership is tracked by token id, and the transfer plan never revokes role grants on that resource.
-
Rotation did not update the token's external flag to match the rotating user, so it kept the original creator's internal privileges.
-
Row Level Security policies were missing or incorrect, and user-writable fields such as the admin flag were not validated server-side.
Seen in 1 report
-
Row-level permissions on the membership table did not enforce that a user cannot change their own role and that at least one Owner must remain.
-
Row-Level Security was missing on a Supabase table, and one-time passwords were stored and returned in API responses.
Seen in 1 report
-
Row-level security was missing on the table and the exposed anonymous key had full read access.
-
Row-Level Security was not enabled, RPC functions were callable anonymously, and the anon key was treated as harmless.
Seen in 1 report