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.
-
The withdraw function lacked an ownership check on the NFT before burning it and sending tokens to the caller.
Seen in 1 report
-
The withdraw function was restricted by a depositor-only modifier, so removing a depositor from the whitelist also blocked withdrawal of deposited funds.
Seen in 1 report
-
The withdrawal check examined only the caller and receiver, not the token owner.
Seen in 1 report
-
The withdrawal function lacked a check that only the lender could start it on a defaulted loan.
-
The withdrawal function lacked a collateral ratio check, allowing unlimited withdrawal by an authorised caller.
Seen in 1 report
-
The withdrawal functions checked isApprovedForAll(owner, receiver) instead of isApprovedForAll(owner, msg.sender).
Seen in 1 report
-
The withdrawal initiation function was restricted to trusted addresses with no alternative path for users to trigger it.
Seen in 1 report
-
The withdrawal path trusted the cross-chain endpoint as the caller and never checked the original caller's authority over the from address.
-
The withdrawal sent tokens to the message sender without verifying that the sender was the legitimate staker.
Seen in 1 report
-
The WOPI access token issued to the document editor is exposed to the client and not bound to the editor, so it can be reused to call the file contents endpoint.
Seen in 1 report
-
$150 Medium
-
-
The worker host copied the parent context's origin without checking whether the worker URL scheme was data.
Seen in 1 report
-
The worker key setter was public with no access control.
-
The worker loader did not enforce that a blob URL must never redirect, and a debug-only origin check was compiled out in production.
Seen in 1 report
-
The worker's network context has no navigation or document handle, so the storage key calculation falls back to matching the origin's first-party keys.
Seen in 1 report
-
The workflow token used for pull requests from forks had write permissions.
Seen in 1 report
-
The workflow token was allowed to approve pull requests and bot approvals counted towards branch protection requirements.
Seen in 1 report
-
The workflow triggered on issue comments, checked out untrusted pull request code and ran make targets without restricting permissions.
-
The workflow used untrusted artifact contents to set environment variables without sanitising newlines.
-
The workflow_run event ran in a privileged context but processed untrusted input from forked pull requests without sanitisation.
-
The worklog list API endpoint did not check whether the requesting user had permission to view the associated issue.
Seen in 1 report
-
The wrap function checked the wrapper contract's allowance instead of the underlying token allowance, so the spender's allowance was never reduced.
-
The wrap permission check let callers approved on the wrapper wrap any unwrapped domain.
Seen in 1 report
-
The wrapper factory only checked a boolean flag before forwarding to the privileged fallback factory, without validating that the request matched the original.
Seen in 1 report
-
The write check was applied to one timestamp update call but omitted from the file-descriptor variant.
Seen in 1 report
-
The WSUS machine account was a valid SQL principal with execute rights on update-publishing stored procedures, and NTLM authentication could be relayed because signing and channel binding were not enforced.
Seen in 1 report
-
The XmlDocument class did not correctly enforce the AppContainer sandbox boundary.
Seen in 1 report
-
The XPC service accepted all clients without checking entitlements and exposed file operations inheriting Full Disk Access.
Seen in 1 report
-
The XPC service held a powerful entitlement but did not validate connecting clients, so any process could ask it to move files into protected locations.
Seen in 1 report
-
The XPC service validated clients by PID instead of audit token and accepted any signed package, including outdated vulnerable ones.
Seen in 1 report
-
The XSLT result document was created without the normal document-load initialisation that sets the feature policy, leaving a permissive default.
-
The yield source trusted an external controller whose emission manager could authorise arbitrary claimers, bypassing its own claim restrictions.
-
The zapper forwarded a user-controlled executor address and path data to a router that performed an unrestricted external call.
Seen in 1 report
-
The zip export gathers all report content without checking permission for internal items.
Seen in 1 report
-
There was no upper bound on the cooldown period, so a value causing an arithmetic overflow made the start function always revert.
Seen in 1 report
-
There was no upper limit on margin and maintenance ratios and no timelock on parameter changes.
Seen in 1 report
-
Three traversal routines disagreed on sequence length handling, so hidden child entitlements were ignored by one check but seen by the kernel.
Seen in 1 report
-
Tickets were identified only by a sequential number in the subject with no check that the sender was authorised.
Seen in 1 report
-
TLS session tickets were not scoped to the virtual host that issued them, so a ticket from one host was accepted by another.
Seen in 1 report
-
To-do redaction did not trigger when a user's membership was downgraded rather than removed.
-
Token approvals were not revoked when the club token changed owner.
-
Token claims for cross-project merge request pipelines used the target project path and source branch name instead of the fork's path.
Seen in 1 report
-
Token generation logic and a hard-coded secret were exposed in client-side JavaScript, and the API enforced no authorisation beyond a forgeable token.
-
Token ownership was stored in a mapping keyed by owner address rather than token address, allowing multiple owners per token.
Seen in 1 report
-
Token uniqueness was only checked within the current tab's frame tree, and the global target map silently overwrote entries on collision.
Seen in 1 report
-
Token validation accepted the 401 error response as a valid token.
Seen in 1 report
-
Medium
-
-
Token validation checked signature and issuer but not the token's intended scope, and an endpoint returned an internal anonymous token to unauthenticated callers.
-
Token verification accepted the none algorithm and trusted the role claim without a valid signature.
Seen in 1 report
-
Tokens issued to ordinary users carried permissions broad enough to call the user-listing API.
Seen in 1 report
-
Tokens returned from external interactions are registered as collateral without checking the allowed list.
Seen in 1 report
-
Tokens were generated directly from the user's login timestamp instead of a random signed value, and those timestamps were exposed publicly.
Seen in 1 report