Description
A server-side request forgery (SSRF) vulnerability was identified in the notebook viewer of GitHub Enterprise Server. The notebook viewer validated the scheme and host of a user-supplied URL but did not validate the port, allowing requests to be directed to internal services listening on other ports of the same appliance. Response bodies were not returned to the requester, but response timing acted as an oracle that allowed instance secrets to be extracted character by character. An extracted secret could then be used in a separate interaction with an internal service to obtain remote code execution on the appliance. Exploitation required network access to the instance and was unauthenticated when private mode was disabled, or required any authenticated user when private mode was enabled. This vulnerability affected GitHub Enterprise Server versions 3.17 through 3.22 and was fixed in versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21. This vulnerability was reported through the GitHub Bug Bounty program.
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · Attack vector: NetworkReferences (6)
| https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.21 | Release NotesVendor Advisory |
| https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.15 | Release NotesVendor Advisory |
| https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.12 | Release NotesVendor Advisory |
| https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.8 | Release NotesVendor Advisory |
| https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.6 | Release NotesVendor Advisory |
| https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.1 | Release NotesVendor Advisory |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Learn about this vulnerability
What Is Remote Code Execution (RCE)?RCE lets an attacker run their own commands on a system they don't control. Learn the common causes, real examples and how to reduce the risk.Beginner · 4-minute readCVSS vs EPSS vs CISA KEV: Understanding the DifferencesThree signals, three different questions. CVSS measures how bad a flaw could be, EPSS estimates how likely exploitation is, and KEV confirms attackers are already using it.Intermediate · 4-minute readWhat Is a CVE? A Beginner's Guide to VulnerabilitiesCVE IDs are the common names for publicly known security flaws. Learn who assigns them, what a CVE record contains, and what a CVE does and doesn't tell you.Beginner · 4-minute readTrack this software
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Github Enterprise Server