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.
-
Require user interaction for opening a file handle and do not retain handles across origin changes.
Seen in 1 report
-
Enforce authentication before exposing notes from the lock screen.
-
Validate managed Wi-Fi profile changes so they cannot be overridden with physical access.
-
Add entitlement checks before enabling folder sharing.
-
Improve state management in Core Bluetooth to restrict app access to sensitive data.
-
Use a cryptographic challenge-response with the backend instead of trusting a static card identifier.
-
Add capability checks to plugin AJAX handlers and stop relying on reversible path encoding.
Seen in 1 report
-
Restrict firewall functions on ONT devices to administrators.
Seen in 1 report
-
Bind identity parameters in WebSocket connections to the authenticated user and validate them.
Seen in 1 report
-
Do not trust client-supplied user identifier headers; derive identity from the session.
Seen in 1 report
-
Create service folders with permissions that prevent low-privileged users from modifying their contents.
-
Load configuration files from protected locations rather than user-writable directories.
Seen in 1 report
-
Correct the machine account check so requests that should be rejected are rejected.
Seen in 1 report
-
Do not accept untrusted data alongside trusted data in URL or document handling.
Seen in 1 report
-
Verify the caller's identity in remote call handling to prevent spoofing.
Seen in 1 report
-
Add proper input validation in the Common Log File System driver.
-
Verify the JWT signature before trusting any claim in the payload.
Seen in 1 report
-
Enable Row-Level Security on database tables and never return one-time passwords in API responses.
Seen in 1 report
-
Restrict single sign-on registration to invited users and never assign the highest role by default.
-
Apply the same IP and permission restrictions to dashboard-wide search as to direct project access.
-
Use separate input and output objects so clients cannot set fields such as roles.
Seen in 1 report
-
Check the block relationship before or alongside the general visibility setting.
-
Enforce privacy restrictions for users who have left a group, including through secondary links.
Seen in 1 report
-
Store user documents in a private location and check authentication and authorisation on every fetch.
Seen in 1 report
-
Validate the token in the ACME provisioner's AuthorizeSign method instead of accepting any token naming the provisioner.
Seen in 1 report
-
Replace hardcoded static tokens with configurable, rotatable secrets.
Seen in 1 report
-
Verify the path prefix rather than searching for a substring anywhere in the path.
Seen in 1 report
-
Enforce authentication on the serial debug shell.
Seen in 1 report
-
Verify the identity and authorisation of the process sending dispenser commands.
Seen in 1 report
-
Do not export components unless needed, and enforce permission checks inside exported components.
Seen in 1 report
-
Resolve and verify the real target path before deleting files, and do not follow junctions.
Seen in 1 report
-
Enable session tracking, remove test fallbacks, and apply the middleware to every route including legacy ones.
Seen in 1 report
-
Enforce the OAuth requirement on the backend for both login and invitation registration.
Seen in 1 report
-
Make child processes inherit sandbox limits and tighten reflection and file read permissions.
-
Disable or remove the setup wizard once installation is complete and require authorisation for setup requests.
Seen in 1 report
-
Write privileged installer files to a non-user-writable location and verify integrity before loading.
Seen in 1 report
-
Bind cached reports to the requesting user and check ownership and role on the download endpoint.
Seen in 1 report
-
Return a minimal confirmation from verification endpoints and require authentication for full profile data.
Seen in 1 report
-
Anchor regular expressions in webhook filters so identifiers must match exactly.
-
Check the requesting user's channel permissions on media scanning endpoints.
Seen in 1 report
-
Apply the email-visibility policy in every endpoint that returns user objects, including call endpoints.
Seen in 1 report
-
Check the share's download restriction in the mobile viewer and export features before saving files.
Seen in 1 report
-
Apply the board-creation permission check to the clone endpoint as well as the create endpoint.
Seen in 1 report
-
Reject password fields in update-user requests unless the caller is authorised to change that user's password.
Seen in 1 report
-
Validate ownership of the target resource and add rate limiting on image write endpoints.
-
Check that offline signing is enabled for the template before processing signing requests.
Seen in 1 report
-
Normalise email parsing between the application and the SSO provider so quoted local-parts cannot be classified differently.
Seen in 1 report
-
Validate file type and content on the server for profile photo uploads.
Seen in 1 report
-
Check that the token's owner matches the requested record on every object endpoint.
-
Verify the caller's role and ownership on the server for delete actions.
Seen in 1 report