Server-Side Request Forgery in GitHub Enterprise Server via Advisory Package URL Endpoint
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.21.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
A Server-Side Request Forgery (SSRF) vulnerability was identified in GitHub Enterprise Server that allowed an attacker to cause the server to issue HTTP requests to internal services via the security advisories package lookup feature. By directing requests to an internal management service and measuring response timing, an attacker could infer the values of sensitive environment variables, including signing secrets and private keys. Exploitation required GitHub Packages to be enabled; on instances not running in private mode the vulnerability was exploitable without authentication, otherwise any authenticated user could exploit it. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21.1 and was fixed in versions 3.20.3, 3.19.7, 3.18.10, 3.17.16, and 3.16.19. This vulnerability was reported via the GitHub Bug Bounty program.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- GitHub Enterprise Server
From 3.21.0 · fixed in 3.21.1; From 3.20.0 · through 3.20.2; From 3.19.0 · through 3.19.6; From 3.18.0 · through 3.18.9; From 3.17.0 · through 3.17.15; From 3.16.0 · through 3.16.18
References 6
docs.github.com
- en/enterprise-server@3.21/admin/release-notes#3.21.1
- en/enterprise-server@3.20/admin/release-notes#3.20.3
- en/enterprise-server@3.19/admin/release-notes#3.19.7
- en/enterprise-server@3.18/admin/release-notes#3.18.10
- en/enterprise-server@3.17/admin/release-notes#3.17.16
- en/enterprise-server@3.16/admin/release-notes#3.16.19