CVE-2024-5815 Cross Site Request Forgery was identified in GitHub Enterprise Server that allowed write in a user owned repository
Attacker can modify victim-owned repositories via CSRF if victim visits a specific tag in an attacker's fork.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-5815?
CVE-2024-5815 is a medium-severity vulnerability in Github Enterprise Server, published on 16 Jul 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A Cross-Site Request Forgery vulnerability in GitHub Enterprise Server allowed write operations on a victim-owned repository by exploiting incorrect request types. A mitigating factor is that the attacker would have to be a trusted GitHub Enterprise Server user, and the victim would have to visit a tag in the attacker's fork of their own repository. vulnerability affected all versions of GitHub Enterprise Server prior 3.14 and was fixed in version 3.13.1, 3.12.6, 3.11.12, 3.10.14, and 3.9.17.
This vulnerability was reported via the GitHub Bug Bounty program.
Weakness: CWE-352
Which versions are affected by CVE-2024-5815?
It affects 1 product.
Products include Github Enterprise Server.
How do I fix CVE-2024-5815?
No fix has been published for CVE-2024-5815 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-5815 being exploited?
There is no known exploitation of CVE-2024-5815 in the wild and no public exploit code.
Other vulnerabilities in Github Enterprise Server
- CVE-2024-4985 Auth bypass in Enterprise Server
- CVE-2022-23739 Missing authorization in GitHub Enterprise Server
- CVE-2022-46255 Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE
- CVE-2021-22869 Improper access control in GitHub Enterprise Server allows self-hosted runners to execute outside their control group
- CVE-2024-9487 Auth bypass in Enterprise Server
Sources
Also known as GHSA-69mq-rrf6-hxmf.