PT-2025-1574 · Github · Github Enterprise Server

Johan Carlsson

+1

·

Published

2025-01-29

·

Updated

2025-09-05

·

CVE-2024-10001

CVSS v3.1

7.1

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions GitHub Enterprise Server versions prior to 3.11.16 GitHub Enterprise Server versions prior to 3.12.10 GitHub Enterprise Server versions prior to 3.13.5 GitHub Enterprise Server versions prior to 3.14.2 GitHub Enterprise Server versions prior to 3.15.0
Description A Code Injection vulnerability was identified in GitHub Enterprise Server that allowed attackers to inject malicious code into the query selector via the identity property in the message handling function. This enabled the exfiltration of sensitive data by manipulating the DOM, including authentication tokens. To execute the attack, the victim must be logged into GitHub and interact with the attacker-controlled malicious webpage containing the hidden iframe. This vulnerability occurs due to an improper sequence of validation, where the origin check occurs after accepting the user-controlled identity property.
Recommendations For versions prior to 3.11.16, update to version 3.11.16 or later. For versions prior to 3.12.10, update to version 3.12.10 or later. For versions prior to 3.13.5, update to version 3.13.5 or later. For versions prior to 3.14.2, update to version 3.14.2 or later. For versions prior to 3.15.0, update to version 3.15.0 or later. As a temporary workaround, consider restricting access to the message handling function until a patch is available. Avoid using the identity property in the query selector until the issue is resolved.

Fix

Code Injection

Weakness Enumeration

Related Identifiers

CVE-2024-10001

Affected Products

Github Enterprise Server