Skip to content

In-depth lesson · OAuth / SSO

Root causes

Every point the OAuth / SSO reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 8 of 8
  1. The user_code field kept a fragment-addressable id, so the page could be pre-focused and submitted with a single keypress.

    Seen in 1 report
  2. The application creation endpoint let a group owner set the trusted flag, which should be reserved for instance administrators, and trusted apps bypass the CSRF check on authorisation.

    Seen in 1 report
  3. The exchange handler never consumed the authorisation code and checked the client-requested credential lifetime field instead of the code's own expiry column.

    Seen in 1 report
  4. A scope that granted organisation runner management was not shown on the authorisation consent screen.

    Seen in 1 report
  5. An incorrect regular expression in redirect URI validation allowed a bypass for first-party sync apps.

    Seen in 1 report
  6. The signature was verified but not bound to the specific response or assertion elements used for authentication, enabling XML Signature Wrapping.

    Seen in 1 report
  7. The session-bridge endpoint did not check which OAuth client the presented token belonged to, accepting third-party integration tokens as if from first-party apps.

    Seen in 1 report
  8. The authorisation server created fully usable clients with attacker-chosen redirect URIs without ownership verification and treated those redirects as trusted.

    Seen in 1 report