Skip to content

In-depth lesson · Access control

Typical fixes

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 101 to 150 of 396
  1. Validate and sanitise the SIP Address field.

    Seen in 1 report
  2. Enforce role requirements set at the action namespace level.

    Seen in 1 report
  3. Use exact path matching rather than flawed string matching in the access check.

    Seen in 1 report
  4. Verify that the process writing to the release agent file holds the admin capability in the initial user namespace.

    Seen in 1 report
  5. Verify the actual code or image digest of allowlisted workloads, not just the command and image name.

    Seen in 1 report
  6. Issue SAS tokens with least privilege and short expiry, and avoid exposing them in public URLs.

    Seen in 1 report
  7. Check who is calling the on-premise configuration server APIs.

    Seen in 1 report
  8. Load scanner files only from locations not writable by low-privileged users and validate their integrity.

    Seen in 1 report
  9. Enforce a permission check in the default Bluetooth device chooser when no custom handler is configured.

    Seen in 1 report
  10. Apply the same localhost navigation blocking to QR code scans as to other navigation paths.

    Seen in 1 report
  11. Re-check the lock on every resume, including resumes from the launcher's app-info screen.

    Seen in 1 report
  12. Ignore call activities when computing the auto-lock timer.

    Seen in 1 report
  13. Block join pages from search engine indexing and require an invitation to join.

    Seen in 1 report
  14. Enforce feature gating on the server rather than only in the user interface.

    Seen in 1 report
  15. Add the missing authorisation check so low-privileged users cannot perform higher-privileged actions.

    Seen in 1 report
  16. Address the machine account name spoofing and Kerberos PAC validation flaws together.

    Seen in 1 report
  17. Correct the Protected View logic so crafted documents cannot skip the risk warning.

    Seen in 1 report
  18. Restrict how low-privileged users can run tcpdump through privileged wrappers.

    Seen in 1 report
  19. Do not let cross-origin documents in embed elements inherit the top-level site's permission grants.

    Seen in 1 report
  20. Make the disable function actually prevent a user from re-enabling their own rights.

    Seen in 1 report
  21. Check that the appointment belongs to the logged-in customer before returning its details.

    Seen in 1 report
  22. Restrict upload destinations and allowed file extensions.

    Seen in 1 report
  23. Make invitation links single-use and expire them.

    Seen in 1 report
  24. Derive permissions from the stored user record rather than from client-supplied role data.

    Seen in 1 report
  25. Validate that identifier arguments are plain strings and reject query operators or regex objects.

    Seen in 1 report
  26. Apply IP allowlists consistently across every domain and route that serves the same content.

    Seen in 1 report
  27. Use the caller's address as the source in deposit functions instead of accepting an arbitrary source parameter.

    Seen in 1 report
  28. Reject plugin installation when the selector is already in use.

    Seen in 1 report
  29. Apply the same caller permission checks in the fallback function as in the execute function.

    Seen in 1 report
  30. Use the correct logical condition in permit so a zero recovered address is rejected.

    Seen in 1 report
  31. Add zero-address validation and a two-step transfer process for privileged roles.

    Seen in 1 report
  32. Build trades with the vault's own address as recipient and enforce a meaningful minimum buy amount.

    Seen in 1 report
  33. Apply the same account restriction on the liquidation path as on the normal vault entry function.

    Seen in 1 report
  34. Preserve redemption rights for holders of the previous token when replacing a project's token.

    Seen in 1 report
  35. Allow the owner, not only the current fee manager, to replace the fee manager.

    Seen in 1 report
  36. Enforce the triggering user's permissions when a CI job clones private submodules.

    Seen in 1 report
  37. Add a caller check to the commit function so only the bid owner or an authorised party can add collateral.

    Seen in 1 report
  38. Verify that the new lender in an updated commitment matches the original lender.

    Seen in 1 report
  39. Restrict defaulted-loan withdrawal to the lender.

    Seen in 1 report
  40. Refund all reward tokens, not just one, when closing a position.

    Seen in 1 report
  41. Check that the requesting client's source address matches the target host in add and delete requests.

    Seen in 1 report
  42. Revoke existing token approvals when a club token is transferred.

    Seen in 1 report
  43. Enforce authorisation checks on the contents of certificate requests.

    Seen in 1 report
  44. Add an authorisation check before the endpoint returns privileged data.

    Seen in 1 report
  45. Reject duplicate query parameters and normalise casing before verification.

    Seen in 1 report
  46. Preserve the old owner information before burning the node during an upgrade.

    Seen in 1 report
  47. Verify in the callback that the flash loan was initiated by the contract itself.

    Seen in 1 report
  48. Show all pending invitations to the owner and expire or revoke invite links.

    Seen in 1 report
  49. Check the caller's permissions on client-supplied role and user identifiers, and sanitise combined tags in chat.

    Seen in 1 report