ghtier

These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.

← All incidents

CVE-2024-4985: SAML auth bypass

Fixed 2024 · Fixed

On GitHub Enterprise Server with SAML single sign-on and the optional encrypted assertions feature, anyone who could reach the instance could forge a SAML response and sign in as a site administrator, without any account.

Full summary

CVE-2024-4985 (CVSS 9.8 in GitHub's advisory) was an authentication bypass in GitHub Enterprise Server's SAML single sign-on, present only when the optional encrypted assertions feature was turned on. An attacker could forge a SAML response that provisioned or signed in to a user with site administrator rights, with no prior authentication. It affected every version before 3.13.0 and was fixed in 3.9.15, 3.10.12, 3.11.10 and 3.12.4. It was reported through GitHub's bug bounty.

How it unfolded

Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.

Whole path

Vulnerability in GitHubEnterprise Serverway inForge a logintechniqueSite administrator (EnterpriseServer)A forged SAML login

The whole attack, one row per step. Pick a step on the left, or click a box in its row.

Frameworks

Part of

Fixed. First seen May 2024. Mapping by ghtier, not yet reviewed. Threat landscape

Sources