HexBrain

GitHub · Report #2336236

Privilege Escalation to Root SSH Access via Pre-Receive Hook Environment in GitHub Enterprise Server

Validstatus
highseverity
71upvotes
13 Sept 2024disclosed

Summary

An attacker with an Administrator role in GitHub Enterprise Server could gain SSH root access via remote code execution. This vulnerability affected GitHub Enterprise Server version 3.8.0 and above and was fixed in version 3.8.17, 3.9.12, 3.10.9, 3.11.7 and 3.12.1. This vulnerability was reported via the GitHub Bug Bounty program.

How it was found

The write-up for this report has not been downloaded yet, or the program disclosed it without one. Read it on HackerOne.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original