CVE-2024-4985

critical

Description

An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES) when utilizing SAML single sign-on authentication with the optional encrypted assertions feature. This vulnerability allowed an attacker to forge a SAML response to provision and/or gain access to a user with site administrator privileges. Exploitation of this vulnerability would allow unauthorized access to the instance without requiring prior authentication. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.13.0 and was fixed in versions 3.9.15, 3.10.12, 3.11.10 and 3.12.4. This vulnerability was reported via the GitHub Bug Bounty program.

References

https://www.hivepro.com/threat-advisory/patch-now-critical-auth-bypass-flaw-in-github-enterprise-server-fixed/

https://heimdalsecurity.com/blog/critical-github-saml-auth-bypass-vulnerability/?web_view=true

https://thecyberthrone.in/2024/05/22/github-fixes-critical-vulnerability-cve-2024-4985/

https://securityaffairs.com/163515/hacking/github-enterprise-server-cve-2024-4985.html

https://www.theregister.com/2024/05/22/github_enterprise_server_patch/

https://www.bleepingcomputer.com/news/security/github-warns-of-saml-auth-bypass-flaw-in-enterprise-server/

https://docs.github.com/en/[email protected]/admin/release-notes#3.9.15

https://docs.github.com/en/[email protected]/admin/release-notes#3.12.4

https://docs.github.com/en/[email protected]/admin/release-notes#3.11.10

https://docs.github.com/en/[email protected]/admin/release-notes#3.10.12

Details

Source: Mitre, NVD

Published: 2024-05-20

Updated: 2024-05-21

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical