These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.
CVE-2022-23732: Management Console path traversal / CSRF bypass
Fixed 2022 · Fixed
A path traversal in GitHub Enterprise Server's Management Console bypassed its CSRF protection, so a page the attacker controls could make a logged-in administrator's browser change console settings, which could lead to privilege escalation.
- Went after
- Take over the GHES appliance
Full summary
CVE-2022-23732 (CVSS 8.8) was a path traversal in GitHub Enterprise Server's Management Console that got around its protection against cross-site request forgery. The attacker needed a victim who was logged in to the Management Console at the time, for example by getting them to open a page the attacker controls, which then sent requests to the console as that user. GitHub's advisory says this could potentially lead to privilege escalation. It affected every version before 3.5 and was fixed in 3.1.19, 3.2.11, 3.3.6 and 3.4.1 after a bug bounty report.
How it unfolded
Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.
Whole path
The whole attack, one row per step. Pick a step on the left, or click a box in its row.
The attack needed a victim with an active Management Console session, the console that configures the whole appliance.
What breaks this step
- Keep GitHub Enterprise Server on a supported release with current patches
- Keep the Management Console and admin SSH off the general network.
A path traversal in the console's request handling let a request get past its cross-site request forgery protection, so a page the attacker controls could act in the victim's session.
GitHub's advisory says this could potentially lead to privilege escalation. Every version before 3.5 was affected; it was fixed in 3.1.19, 3.2.11, 3.3.6 and 3.4.1 after a bug bounty report.
Frameworks
Part of
Fixed. First seen January 2022. Mapping by ghtier, not yet reviewed. Threat landscape