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 201 to 250 of 396
  1. Require user interaction for opening a file handle and do not retain handles across origin changes.

    Seen in 1 report
  2. Enforce authentication before exposing notes from the lock screen.

    Seen in 1 report
  3. Validate managed Wi-Fi profile changes so they cannot be overridden with physical access.

    Seen in 1 report
  4. Add entitlement checks before enabling folder sharing.

    Seen in 1 report
  5. Improve state management in Core Bluetooth to restrict app access to sensitive data.

    Seen in 1 report
  6. Use a cryptographic challenge-response with the backend instead of trusting a static card identifier.

    Seen in 1 report
  7. Add capability checks to plugin AJAX handlers and stop relying on reversible path encoding.

    Seen in 1 report
  8. Restrict firewall functions on ONT devices to administrators.

    Seen in 1 report
  9. Bind identity parameters in WebSocket connections to the authenticated user and validate them.

    Seen in 1 report
  10. Do not trust client-supplied user identifier headers; derive identity from the session.

    Seen in 1 report
  11. Create service folders with permissions that prevent low-privileged users from modifying their contents.

    Seen in 1 report
  12. Load configuration files from protected locations rather than user-writable directories.

    Seen in 1 report
  13. Correct the machine account check so requests that should be rejected are rejected.

    Seen in 1 report
  14. Do not accept untrusted data alongside trusted data in URL or document handling.

    Seen in 1 report
  15. Verify the caller's identity in remote call handling to prevent spoofing.

    Seen in 1 report
  16. Add proper input validation in the Common Log File System driver.

    Seen in 1 report
  17. Verify the JWT signature before trusting any claim in the payload.

    Seen in 1 report
  18. Enable Row-Level Security on database tables and never return one-time passwords in API responses.

    Seen in 1 report
  19. Restrict single sign-on registration to invited users and never assign the highest role by default.

    Seen in 1 report
  20. Apply the same IP and permission restrictions to dashboard-wide search as to direct project access.

    Seen in 1 report
  21. Use separate input and output objects so clients cannot set fields such as roles.

    Seen in 1 report
  22. Check the block relationship before or alongside the general visibility setting.

    Seen in 1 report
  23. Enforce privacy restrictions for users who have left a group, including through secondary links.

    Seen in 1 report
  24. Store user documents in a private location and check authentication and authorisation on every fetch.

    Seen in 1 report
  25. Validate the token in the ACME provisioner's AuthorizeSign method instead of accepting any token naming the provisioner.

    Seen in 1 report
  26. Replace hardcoded static tokens with configurable, rotatable secrets.

    Seen in 1 report
  27. Verify the path prefix rather than searching for a substring anywhere in the path.

    Seen in 1 report
  28. Enforce authentication on the serial debug shell.

    Seen in 1 report
  29. Verify the identity and authorisation of the process sending dispenser commands.

    Seen in 1 report
  30. Do not export components unless needed, and enforce permission checks inside exported components.

    Seen in 1 report
  31. Resolve and verify the real target path before deleting files, and do not follow junctions.

    Seen in 1 report
  32. Enable session tracking, remove test fallbacks, and apply the middleware to every route including legacy ones.

    Seen in 1 report
  33. Enforce the OAuth requirement on the backend for both login and invitation registration.

    Seen in 1 report
  34. Make child processes inherit sandbox limits and tighten reflection and file read permissions.

    Seen in 1 report
  35. Disable or remove the setup wizard once installation is complete and require authorisation for setup requests.

    Seen in 1 report
  36. Write privileged installer files to a non-user-writable location and verify integrity before loading.

    Seen in 1 report
  37. Bind cached reports to the requesting user and check ownership and role on the download endpoint.

    Seen in 1 report
  38. Return a minimal confirmation from verification endpoints and require authentication for full profile data.

    Seen in 1 report
  39. Anchor regular expressions in webhook filters so identifiers must match exactly.

    Seen in 1 report
  40. Check the requesting user's channel permissions on media scanning endpoints.

    Seen in 1 report
  41. Apply the email-visibility policy in every endpoint that returns user objects, including call endpoints.

    Seen in 1 report
  42. Check the share's download restriction in the mobile viewer and export features before saving files.

    Seen in 1 report
  43. Apply the board-creation permission check to the clone endpoint as well as the create endpoint.

    Seen in 1 report
  44. Reject password fields in update-user requests unless the caller is authorised to change that user's password.

    Seen in 1 report
  45. Validate ownership of the target resource and add rate limiting on image write endpoints.

    Seen in 1 report
  46. Check that offline signing is enabled for the template before processing signing requests.

    Seen in 1 report
  47. Normalise email parsing between the application and the SSO provider so quoted local-parts cannot be classified differently.

    Seen in 1 report
  48. Validate file type and content on the server for profile photo uploads.

    Seen in 1 report
  49. Check that the token's owner matches the requested record on every object endpoint.

    Seen in 1 report
  50. Verify the caller's role and ownership on the server for delete actions.

    Seen in 1 report