CVE-2024-45309 OneDev vulnerable to arbitrary file reading for unauthenticated user

High 8.7 Published Updated

Unauthenticated attackers can read arbitrary files on the OneDev server, exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-45309?

CVE-2024-45309 is a high-severity path traversal vulnerability in theonedev onedev, published on 21 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OneDev is a Git server with CI/CD, kanban, and packages. A vulnerability in versions prior to 11.0.9 allows unauthenticated users to read arbitrary files accessible by the OneDev server process. This issue has been fixed in version 11.0.9.

Weakness: CWE-22, CWE-200

Which versions are affected by CVE-2024-45309?

It affects 1 product.

Products include Onedev Project Onedev.

How do I fix CVE-2024-45309?

No fix has been published for CVE-2024-45309 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-45309 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45309 exists.

Public exploit code: 1 Metasploit module and 1 Nuclei template.

Sources

Also known as GHSA-7wg5-6864-v489.

Is CVE-2024-45309 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free