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 app trusted a client-side field in the login response to enforce account lockout.
Seen in 1 report
-
The app trusted client-modifiable values for authorisation and stored sensitive tokens and medical data insecurely on the device.
-
The app trusted privilege values held in an unvalidated, unencrypted token in the URL instead of checking authorisation on the server.
Seen in 1 report
-
The app trusted user-supplied identifiers such as board ID, user ID and role without checking permission.
-
The app uninstall mutation enforced the develop apps permission only in the user interface.
Seen in 1 report
-
The app used a client-side API key for authentication and the user search API lacked authorisation checks.
-
The app used a third-party upload library whose service was exported and accepted arbitrary file paths without validating the caller or file location.
Seen in 1 report
-
The app was given overly broad cloud credentials with full bucket access instead of scoped, temporary tokens limited to a single session path.
Seen in 1 report
-
The app was not built with the hardened runtime, so an unsigned dynamic library could be injected and inherit its camera permission.
Seen in 1 report
-
The app-specific URL check only looked at the scheme and did not exclude the offline handler host, so untrusted reading list content was treated as trusted.
Seen in 1 report
-
The application and NGINX parse URIs differently, leading to an authentication bypass.
-
The application and the SSO provider used different email parsing rules for quoted local-parts, so the same address was classified differently.
Seen in 1 report
-
The application checked account status only at login, did not revoke existing sessions, and accepted a status field in the profile update without proper authorisation.
Seen in 1 report
-
The application checked that a user was logged in but did not check that the user had an admin role before serving administrative endpoints.
Seen in 1 report
-
The application checked the inviter's permissions only when the invitation was created, not when it was accepted.
-
The application checked the merge request author's original permissions rather than their current project membership.
Seen in 1 report
-
The application checked the password only in the user interface and not on the server when serving article content.
Seen in 1 report
-
The application checked the role only at login and did not re-check or invalidate the session when the role changed.
-
The application checked the user's role only when the session was created and did not re-validate capabilities on each request.
Seen in 1 report
-
The application did not check that only an owner can assign the owner role.
Seen in 1 report
-
The application did not check the requesting user's role before allowing them to set the role of a newly created user.
Seen in 1 report
-
The application did not check whether a branch was already protected at group level when a user added it at project level.
-
The application did not check whether a user had permission to access a project's deploy keys when listing privately accessible keys.
-
The application did not check whether the caller was authorised to grant the permissions contained in an updated privilege definition before saving it.
-
The application did not enforce authorization on the permission-editing functionality, so a user with a contacts permission could modify their own permissions.
-
The application did not invalidate or expire the accept-transfer request after first use, allowing replay.
-
The application did not invalidate the session on logout, did not enforce authentication on the member addition action and set no cache-control headers.
Seen in 1 report
-
The application did not properly invalidate the session on the server side when the user logged out.
Seen in 1 report
-
The application did not properly validate the issuer or tenant of identity tokens in a multi-tenant setup.
Seen in 1 report
-
The application did not re-check the attacker's current permission on the security policy project when displaying or enforcing its policies.
-
The application did not re-check the current role per request and did not invalidate the session token when the role was revoked.
-
The application did not record which interface a session was created for, so session IDs were accepted across web and API contexts.
Seen in 1 report
-
The application did not reject duplicate parameter names and used the last value.
Seen in 1 report
-
The application did not unlink the OAuth account when the user's email address changed.
Seen in 1 report
-
The application did not validate that the submitted vote option was a valid choice before granting access to results.
Seen in 1 report
-
The application did not validate the token's signer or issuer and was directly accessible, so forged tokens bypassed ALB authentication.
Seen in 1 report
-
The application did not verify an authenticated session before serving user pages and API endpoints, treating anonymous requests as a logged-in user with null values.
Seen in 1 report
-
The application did not verify email ownership before issuing an API key and did not invalidate existing sessions on password reset.
Seen in 1 report
-
The application did not verify that the GitHub App installation was owned by the organisation it was being linked to.
Seen in 1 report
-
The application did not verify that the product identifier in a collection belonged to the same page as the collection.
-
The application did not verify that the user accepting an invitation owned the invited email address and allowed email changes to unverified addresses.
Seen in 1 report
-
The application does not check authentication before serving repository pages and reflects the URL path without validation.
Seen in 1 report
-
The application failed to enforce proper authorisation checks on requests that update data.
Seen in 1 report
-
The application failed to verify the actor's repository write permissions when applying column value updates to an existing project item.
-
The application generated report files into a public storage bucket and relied on an unguessable URL path as the only access control, with no authentication check or signed expiring link.
Seen in 1 report
-
The application generated static or shared credentials instead of a unique token and API key per user session.
-
The application handled encoded characters in email addresses inconsistently, so the removal process could not match the stored identifier.
Seen in 1 report
-
The application hides SAML SSO settings when a group becomes a child group but does not disable the underlying SSO and SCIM configurations.
Seen in 1 report
-
The application loaded an object by a user-supplied ID and saved changes without verifying that the object belonged to the requester.
Seen in 1 report
-
The application made a security decision based on data inside the untrusted document rather than a trusted source.
Seen in 1 report