Skip to content
RCE Disclosed report Intermediate CVE-2024-1359

Management Console Editor Privilege Escalation to Root SSH Access in GitHub Enterprise Server via RCE in ghe-update-check

A command injection flaw in the GitHub Enterprise Server Management Console allowed an editor to execute arbitrary commands when configuring an HTTP proxy, leading to admin SSH access. The vulnerability affected all versions before 3.12 and was fixed in later releases.

inspector-ambitious Follow

Originally disclosed on HackerOne

  • Triaged in 12 days
  • Fixed in 2 months
  • Paid in 2 months
  • Disclosed after 8 months

Summary by the program

A command injection vulnerability was identified in GitHub Enterprise Server that allowed an attacker with an editor role in the Management Console to gain admin SSH access to the appliance when setting up an HTTP proxy. Exploitation of this vulnerability required access to the GitHub Enterprise Server instance and access to the Management Console with the editor role. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.12 and was fixed in versions 3.11.5, 3.10.7, 3.9.10, and 3.8.15.

CVE-2024-1359

The original report as published on HackerOne, by inspector-ambitious. 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 with editor access could gain admin SSH access to the appliance.

What the attacker needed

Access to the GitHub Enterprise Server instance; editor role in the Management Console

The fix

The vulnerability was fixed in versions 3.11.5, 3.10.7, 3.9.10, and 3.8.15.

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 bug let someone with limited editor rights in a management tool run their own commands on the server by abusing a proxy setting. That gave them full control, like having the keys to the server. It was fixed in newer versions.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by inspector-ambitious

View all

15 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.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.