Skip to content

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.

Back to the lesson 4,351 to 4,400 of 4,475
  1. The withdraw function lacked an ownership check on the NFT before burning it and sending tokens to the caller.

    Seen in 1 report
  2. 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
  3. The withdrawal check examined only the caller and receiver, not the token owner.

    Seen in 1 report
  4. The withdrawal function lacked a check that only the lender could start it on a defaulted loan.

    Seen in 1 report
  5. The withdrawal function lacked a collateral ratio check, allowing unlimited withdrawal by an authorised caller.

    Seen in 1 report
  6. The withdrawal functions checked isApprovedForAll(owner, receiver) instead of isApprovedForAll(owner, msg.sender).

    Seen in 1 report
  7. The withdrawal initiation function was restricted to trusted addresses with no alternative path for users to trigger it.

    Seen in 1 report
  8. The withdrawal path trusted the cross-chain endpoint as the caller and never checked the original caller's authority over the from address.

    Seen in 1 report
  9. The withdrawal sent tokens to the message sender without verifying that the sender was the legitimate staker.

    Seen in 1 report
  10. 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
  11. The worker host copied the parent context's origin without checking whether the worker URL scheme was data.

    Seen in 1 report
  12. The worker key setter was public with no access control.

    Seen in 1 report
  13. 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
  14. 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
  15. The workflow token used for pull requests from forks had write permissions.

    Seen in 1 report
  16. The workflow token was allowed to approve pull requests and bot approvals counted towards branch protection requirements.

    Seen in 1 report
  17. The workflow triggered on issue comments, checked out untrusted pull request code and ran make targets without restricting permissions.

    Seen in 1 report
  18. The workflow used untrusted artifact contents to set environment variables without sanitising newlines.

    Seen in 1 report
  19. The workflow_run event ran in a privileged context but processed untrusted input from forked pull requests without sanitisation.

    Seen in 1 report
  20. The worklog list API endpoint did not check whether the requesting user had permission to view the associated issue.

    Seen in 1 report
  21. The wrap function checked the wrapper contract's allowance instead of the underlying token allowance, so the spender's allowance was never reduced.

    Seen in 1 report
  22. The wrap permission check let callers approved on the wrapper wrap any unwrapped domain.

    Seen in 1 report
  23. 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
  24. The write check was applied to one timestamp update call but omitted from the file-descriptor variant.

    Seen in 1 report
  25. 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
  26. The XmlDocument class did not correctly enforce the AppContainer sandbox boundary.

    Seen in 1 report
  27. The XPC service accepted all clients without checking entitlements and exposed file operations inheriting Full Disk Access.

    Seen in 1 report
  28. 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
  29. The XPC service validated clients by PID instead of audit token and accepted any signed package, including outdated vulnerable ones.

    Seen in 1 report
  30. The XSLT result document was created without the normal document-load initialisation that sets the feature policy, leaving a permissive default.

    Seen in 1 report
  31. The yield source trusted an external controller whose emission manager could authorise arbitrary claimers, bypassing its own claim restrictions.

    Seen in 1 report
  32. The zapper forwarded a user-controlled executor address and path data to a router that performed an unrestricted external call.

    Seen in 1 report
  33. The zip export gathers all report content without checking permission for internal items.

    Seen in 1 report
  34. 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
  35. There was no upper limit on margin and maintenance ratios and no timelock on parameter changes.

    Seen in 1 report
  36. 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
  37. Tickets were identified only by a sequential number in the subject with no check that the sender was authorised.

    Seen in 1 report
  38. 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
  39. To-do redaction did not trigger when a user's membership was downgraded rather than removed.

    Seen in 1 report
  40. Token approvals were not revoked when the club token changed owner.

    Seen in 1 report
  41. 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
  42. Token generation logic and a hard-coded secret were exposed in client-side JavaScript, and the API enforced no authorisation beyond a forgeable token.

    Seen in 1 report
  43. Token ownership was stored in a mapping keyed by owner address rather than token address, allowing multiple owners per token.

    Seen in 1 report
  44. 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
  45. Token validation accepted the 401 error response as a valid token.

    Seen in 1 report
  46. Token validation checked signature and issuer but not the token's intended scope, and an endpoint returned an internal anonymous token to unauthenticated callers.

    Seen in 1 report
  47. Token verification accepted the none algorithm and trusted the role claim without a valid signature.

    Seen in 1 report
  48. Tokens issued to ordinary users carried permissions broad enough to call the user-listing API.

    Seen in 1 report
  49. Tokens returned from external interactions are registered as collateral without checking the allowed list.

    Seen in 1 report
  50. 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