Skip to content

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.

Back to the lesson 1,451 to 1,500 of 4,475
  1. The app trusted a client-side field in the login response to enforce account lockout.

    Seen in 1 report
  2. The app trusted client-modifiable values for authorisation and stored sensitive tokens and medical data insecurely on the device.

    Seen in 1 report
  3. 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
  4. The app trusted user-supplied identifiers such as board ID, user ID and role without checking permission.

    Seen in 1 report
  5. The app uninstall mutation enforced the develop apps permission only in the user interface.

    Seen in 1 report
  6. The app used a client-side API key for authentication and the user search API lacked authorisation checks.

    Seen in 1 report
  7. 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
  8. 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
  9. 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
  10. 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
  11. The application and NGINX parse URIs differently, leading to an authentication bypass.

    Seen in 1 report
  12. 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
  13. 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
  14. 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
  15. The application checked the inviter's permissions only when the invitation was created, not when it was accepted.

    Seen in 1 report
  16. The application checked the merge request author's original permissions rather than their current project membership.

    Seen in 1 report
  17. The application checked the password only in the user interface and not on the server when serving article content.

    Seen in 1 report
  18. The application checked the role only at login and did not re-check or invalidate the session when the role changed.

    Seen in 1 report
  19. 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
  20. The application did not check that only an owner can assign the owner role.

    Seen in 1 report
  21. 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
  22. The application did not check whether a branch was already protected at group level when a user added it at project level.

    Seen in 1 report
  23. The application did not check whether a user had permission to access a project's deploy keys when listing privately accessible keys.

    Seen in 1 report
  24. The application did not check whether the caller was authorised to grant the permissions contained in an updated privilege definition before saving it.

    Seen in 1 report
  25. The application did not enforce authorization on the permission-editing functionality, so a user with a contacts permission could modify their own permissions.

    Seen in 1 report
  26. The application did not invalidate or expire the accept-transfer request after first use, allowing replay.

    Seen in 1 report
  27. 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
  28. The application did not properly invalidate the session on the server side when the user logged out.

    Seen in 1 report
  29. The application did not properly validate the issuer or tenant of identity tokens in a multi-tenant setup.

    Seen in 1 report
  30. The application did not re-check the attacker's current permission on the security policy project when displaying or enforcing its policies.

    Seen in 1 report
  31. The application did not re-check the current role per request and did not invalidate the session token when the role was revoked.

    Seen in 1 report
  32. 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
  33. The application did not reject duplicate parameter names and used the last value.

    Seen in 1 report
  34. The application did not unlink the OAuth account when the user's email address changed.

    Seen in 1 report
  35. The application did not validate that the submitted vote option was a valid choice before granting access to results.

    Seen in 1 report
  36. 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
  37. 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
  38. 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
  39. The application did not verify that the GitHub App installation was owned by the organisation it was being linked to.

    Seen in 1 report
  40. The application did not verify that the product identifier in a collection belonged to the same page as the collection.

    Seen in 1 report
  41. 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
  42. The application does not check authentication before serving repository pages and reflects the URL path without validation.

    Seen in 1 report
  43. The application failed to enforce proper authorisation checks on requests that update data.

    Seen in 1 report
  44. The application failed to verify the actor's repository write permissions when applying column value updates to an existing project item.

    Seen in 1 report
  45. 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
  46. The application generated static or shared credentials instead of a unique token and API key per user session.

    Seen in 1 report
  47. The application handled encoded characters in email addresses inconsistently, so the removal process could not match the stored identifier.

    Seen in 1 report
  48. 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
  49. 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
  50. The application made a security decision based on data inside the untrusted document rather than a trusted source.

    Seen in 1 report