Description
A server-side request forgery (SSRF) vulnerability was identified in GitHub Enterprise Server that allowed an unauthenticated attacker to send crafted requests to internal services by exploiting insufficient input validation in an upload endpoint. By injecting path traversal content into request parameters, an attacker could bypass the intended request flow and redirect internal API calls, potentially accessing internal services and exposing sensitive credentials. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.16.20, 3.17.17, 3.18.11, 3.19.8, 3.20.4, and 3.21.1. This vulnerability was reported via the GitHub Bug Bounty program.
Problem types
CWE-918 Server-Side Request Forgery (SSRF)
Product status
3.16.0 (semver)
3.17.0 (semver)
3.18.0 (semver)
3.19.0 (semver)
3.20.0 (semver)
3.21.0 (semver) before 3.21.1
Credits
ahacker1
References
docs.github.com/...nterprise-server@3.16/admin/release-notes
docs.github.com/...nterprise-server@3.17/admin/release-notes
docs.github.com/...nterprise-server@3.18/admin/release-notes
docs.github.com/...nterprise-server@3.19/admin/release-notes
docs.github.com/...nterprise-server@3.20/admin/release-notes
docs.github.com/...nterprise-server@3.21/admin/release-notes