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.
-
Sanitise the liquidator parameter when the vault is the caller.
Seen in 1 report
-
Restrict the target and data of external calls made by helper contracts.
-
Check that the current user can access the personal snippet before creating a note.
Seen in 1 report
-
Require the email address to be confirmed before it can be set as public or commit email.
Seen in 1 report
-
Enforce the group's IP restriction in the repository import feature.
-
Normalise and validate tag names against protected tag patterns.
Seen in 1 report
-
Apply the same role-assignment restrictions to member import as to direct member changes.
Seen in 1 report
-
Verify that the requester owns the tenant or installation before creating an integration.
Seen in 1 report
-
$3,300 Critical
-
-
Authenticate incoming requests before exposing cloud-service functionality.
Seen in 1 report
-
Check whether a linked issue was created from a vulnerability before allowing its removal.
Seen in 1 report
-
Check where and as whom files are written before overwriting.
Seen in 1 report
-
Do not forward the system-call flag when calling the value simulator from a user transaction.
Seen in 1 report
-
Verify the authenticity of HTTP data received by the password reset portal.
-
Process method overrides before the JWT filter, or reject override headers on authenticated routes.
Seen in 1 report
-
Check that the recruiter is associated with the company before returning interest lists.
Seen in 1 report
-
Encode the fallback cache key before inserting it into the cache URL.
-
Restrict the scheme of links opened from news feeds.
Seen in 1 report
-
Normalise trailing dots in hostnames before comparison.
Seen in 1 report
-
Validate client-supplied metadata updates on the server.
Seen in 1 report
-
Block loading native OpenSSL engines when native addons are disallowed.
Seen in 1 report
-
Check the token owner against the blacklist in the approve function.
Seen in 1 report
-
Match the team ID in the signup request to the workspace tied to the invitation token.
Seen in 1 report
-
Verify that the recipient is authorised to change share permissions.
Seen in 1 report
-
Restrict mint and burn to the rebalancer contract.
Seen in 1 report
-
Add access control to the admin registration route.
-
Resolve or reject replace references in merge logic.
Seen in 1 report
-
Apply cookie blocking when localStorage is accessed through an iframe contentWindow.
-
Verify that the passenger accepted the tender and enforce the allowed bid price range.
-
Restrict permissions on the update directory and do not follow junctions during recursive deletion.
Seen in 1 report
-
Account for aliased senders when the sequencer is down in the operator check.
Seen in 1 report
-
Validate that the pool argument is a genuine pool before using its values.
-
Remove the root restart right and make the action folder non-writable by the user's group.
Seen in 1 report
-
Enforce access control on confidential issues and merge requests in analytics.
-
Anchor origin validation patterns to the start and end of the string.
Seen in 1 report
-
Scope TLS session tickets to the virtual host that issued them.
Seen in 1 report
-
Protect signing secrets against deletion and replacement, not just reading.
-
Require authentication on local control APIs and restrict which paths configuration may load or write.
Seen in 1 report
-
Enforce permissions at the same granularity the interface presents.
Seen in 1 report
-
Validate the full input string before truncation and reject values that only match a trusted domain after truncation.
Seen in 1 report
-
Invalidate reset tokens when the generating admin is removed and keep links out of other admins' view.
Seen in 1 report
-
Apply 2FA enforcement uniformly to every way of joining a group.
-
Apply access control to all HTTP methods, not just GET.
Seen in 1 report
-
Block requests without valid credentials instead of only issuing a challenge.
Seen in 1 report
-
Override approve to run the same sanity checks as transfer.
-
Restrict collateral-adding functions to the loan maker and verify token transfers.
Seen in 1 report
-
Register accept-ownership in the diamond's selector list so ownership transfer completes.
Seen in 1 report
-
Deny transfers by default when the restriction registry is unset.
Seen in 1 report
-
Apply the newly read restricted-address list on reload instead of the old config.
Seen in 1 report
-
Include the sender argument in the message signed by observers so it cannot be substituted.
Seen in 1 report
-
Use the actual initiator address from event data rather than the emitting contract address.
Seen in 1 report