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.
-
The payableCall function was declared public without the approved-caller modifier.
Seen in 1 report
-
The payment function was public and accepted an arbitrary source address.
-
The payment gateways endpoint had no permission check and returned data to any authenticated admin.
Seen in 1 report
-
The payment handler did not verify that the wallet identifier belonged to the requesting user.
Seen in 1 report
-
The payment page relied on a guessable or leaked URL as its only access control.
Seen in 1 report
-
The payment path bypassed the WebAuthn domain check but did not filter sensitive extensions for cross-origin requests.
Seen in 1 report
-
The payment settings page and actions lacked a check for the Settings permission.
Seen in 1 report
-
The payout settings page lacked the password confirmation step used on other sensitive functions.
Seen in 1 report
-
The PDF route was registered with no authentication and no request size limit.
Seen in 1 report
-
The peer identity was computed as a hash of the literal protobuf bytes received while signature verification used the decoded key, so non-canonical encodings produced different identities.
-
The peer_same_hostname comparison does not normalise a trailing dot before comparing hostnames, unlike the HSTS code, so the same origin is misclassified as different.
Seen in 1 report
-
The per-circle share token was never revoked or revalidated when an email member was removed from the circle.
-
The permission check applied to background-script callers but not to popup callers.
Seen in 1 report
-
The permission check compared the entity type against a non-existent admin value, so the authorisation condition was always true.
Seen in 1 report
-
The permission check conflated declared permissions with granted permissions, so response blocking was disabled too early.
Seen in 1 report
-
The permission check covered applying a blocklist but not replacing one that was already applied.
Seen in 1 report
-
The permission check did not distinguish a normal user from a team member when deciding who may edit the auto-response.
Seen in 1 report
-
The permission check did not enforce the documented role requirement for private projects.
-
The permission check for approving status checks used the approve merge request permission, which guests who can update the merge request also hold.
-
The permission check for creating merge requests from a fork did not re-evaluate the user's current role after a change.
Seen in 1 report
-
The permission check for group settings updates verified only the custom ability, not the appropriate group owner or maintainer role.
-
The permission check for inviting members did not account for the membership type, allowing inherited and direct shared members to invite others despite documentation stating otherwise.
-
The permission check for merge requests from forks did not account for the auditor role's read-only restriction.
Seen in 1 report
-
The permission check for promoting a key result to an objective is missing or allows users below the Reporter role.
Seen in 1 report
-
The permission check for resolving a discussion only considered the reply author, not project membership.
Seen in 1 report
-
The permission check for transferring a domain to another provider was missing or incorrectly enforced.
Seen in 1 report
-
The permission check for viewing system notes on tasks only considered the base access level (Guest) and not the custom member role's read permissions, or the check was missing for users with read_code permission.
-
The permission check in the update and delete handlers was placed after the database operation instead of before it.
-
The permission check incorrectly included an or-approved condition, so approved translations bypassed the privilege requirement.
-
The permission check inspected one parameter while a legacy alias was processed later and written without re-checking authorization.
-
The permission check is applied to the patient list page but not to the individual patient detail page.
Seen in 1 report
-
The permission check on inviting a group and changing a member's role did not compare the requested role against the inviter's own maximum role.
-
The permission check only ran when the guest was already attached, so requests during the attachment delay were queued instead of denied.
Seen in 1 report
-
The permission check only resolves the target interface for interface, endpoint and class transfers, so other recipients skip the blocklist.
Seen in 1 report
-
The permission check only verified that the user created the incident, not that they still held the required role.
-
The permission check ran after comparing the new visibility to the current one, and the comparison could be bypassed with a crafted value.
Seen in 1 report
-
The permission check ran once against the top-level frame's origin while serialisation walked the whole frame tree without per-frame checks.
Seen in 1 report
-
The permission check returned early for standard requests to the device recipient without validating the request code, skipping the protected interface check.
Seen in 1 report
-
The permission check returned true early for device recipients, skipping the blocked interface class validation.
Seen in 1 report
-
The permission check returned true for both allowed and withheld states, and the injection tracker was updated before the renderer confirmed execution.
Seen in 1 report
-
The permission check returns true for an expired blacklist instead of falling back to the default permission state based on the strict flag.
Seen in 1 report
-
The permission check short-circuited when a profile-wide grant existed, skipping the embedder's manifest verification for non-controlled-frame webviews.
Seen in 1 report
-
The permission check used a substring match on the request URI rather than an exact path comparison.
Seen in 1 report
-
$1,000
-
-
The permission check used the user's inherited role from the parent group rather than their explicit role in the subgroup.
Seen in 1 report
-
The permission check was added only to the native realpath implementation, leaving the JavaScript-level path unguarded.
Seen in 1 report
-
The permission check was applied to file read operations but not to the file watching API, leaving that path unchecked.
Seen in 1 report
-
The permission check was applied to some file-reading APIs but not to the newer fs.openAsBlob() function, leaving a gap in enforcement.
Seen in 1 report
-
The permission function lacked cases for some commands and fell through to a default granting full permissions.
Seen in 1 report
-
The permission helper was over-permissive and returned true for withheld access, so the injection tracker marked the renderer authorised before any code ran.
Seen in 1 report
-
The permission middleware only looked up a validator for paths under one prefix, so every other route was treated as unauthenticated.
Seen in 1 report