Skip to content
Path traversal Disclosed report Intermediate CVE-2022-23732

CSRF protection bypass in GitHub Enterprise management console

A path traversal flaw in the GitHub Enterprise Server management console allowed bypassing CSRF protections. An attacker could exploit this against a logged-in user to potentially escalate privileges.

bitquark Follow

Originally disclosed on HackerOne

Bounty$10,000 High View original
  • Disclosed after 43 days

Summary by the program

A path traversal vulnerability was identified in GitHub Enterprise Server management console that allowed the bypass of CSRF protections. This could potentially lead to privilege escalation. To exploit this vulnerability, an attacker would need to target a user that was actively logged into the management console. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.5 and was fixed in versions 3.1.19, 3.2.11, 3.3.6, 3.4.1. CVE-2022-23732

The original report as published on HackerOne, by bitquark. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could potentially escalate privileges by targeting a user actively logged into the management console.

What the attacker needed

Victim logged into management console; attacker targets that user

The fix

It was fixed in versions 3.1.19, 3.2.11, 3.3.6, and 3.4.1.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a flaw in GitHub Enterprise Server's management console. A path traversal bug let attackers bypass CSRF protections, which stop malicious sites making logged-in users act. Targeting a logged-in user could potentially escalate privileges.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by bitquark

View all

6 more disclosed reports, best first.

More from GitHub

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.