CVE-2024-0200
Unsafe Reflection in Github Enterprise Server leading to Command Injection
Record summary
CVE-2024-0200 has a selected CVSS score of 7.2 (high); EIP currently links 1 repository PoC and 1 Nuclei template.
Description
An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. This vulnerability could lead to the execution of user-controlled methods and remote code execution. To exploit this bug, an actor would need to be logged into an account on the GHES instance with the organization owner role. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.12 and was fixed in versions 3.8.13, 3.9.8, 3.10.5, and 3.11.3. This vulnerability was reported via the GitHub Bug Bounty program.
Exploitation context
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
Enterprise ServerBrowse GitHub / Enterprise ServerDefault status: affected, unknown | CVE List | 3.8.0 to < 3.8.13 | affected |
| 3.9.0 to < 3.9.8 | affected | ||
| 3.10.0 to < 3.10.5 | affected | ||
| 3.11.0 to < 3.11.3 | affected | ||
| 3.8.0 | affected |
Proofs of concept
1Repository PoCs
GitHubconvisolabs/CVE-2024-0507_CVE-2024-0200-githubRepository PoCby convisolabsStars: 1Not analyzed6 files
Nuclei templates
1ProjectDiscoveryCRITICALGithub Enterprise - Remote Code ExecutionCVSS 9.8
An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. This vulnerability could lead to the execution of user-controlled methods and remote code execution. To exploit this bug, an actor would need to be logged into an account on the GHES instance with the organization owner role. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.12 and was fixed in versions 3.8.13, 3.9.8, 3.10.5, and 3.11.3.
Impact
Authenticated attackers with organization owner privileges can exploit unsafe reflection to execute arbitrary code remotely, leading to complete compromise of the GitHub Enterprise Server instance and potential access to all repositories and data.
Remediation
Upgrade to GitHub Enterprise Server version 3.8.13, 3.9.8, 3.10.5, or 3.11.3 or later.
Source: ProjectDiscovery