CVE-2024-45309
Published: 21 October 2024
Summary
CVE-2024-45309 is a high-severity Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) vulnerability in Onedev Project Onedev. Its CVSS base score is 8.7 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 0.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
OneDev is a Git server with CI/CD, kanban, and packages that is affected by a path traversal vulnerability tracked as CVE-2024-45309. The flaw, present in all versions prior to 11.0.9 and assigned CWE-22 and CWE-200, permits unauthenticated remote attackers to read arbitrary files that are accessible to the OneDev server process. The issue carries a CVSS 4.0 score of 8.7 reflecting network attack vector, low complexity, and no required authentication or user interaction.
An unauthenticated attacker can send specially crafted requests to the OneDev instance and retrieve sensitive files such as configuration data, source code, or credentials stored on the server filesystem. Because the vulnerability requires no credentials, it can be exploited by any party with network access to the application, potentially exposing the entire contents of directories readable by the process account.
The vulnerability was addressed in OneDev 11.0.9, as detailed in the project’s security advisory GHSA-7wg5-6864-v489 and the corresponding code change that enforces proper path validation. Administrators are advised to upgrade immediately to the patched release to eliminate the exposure. The associated EPSS score stands at 0.8897 with no indicated rise from a lower baseline.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-41432
Vulnerability details
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Unauthenticated arbitrary file read in public-facing Git/CI/CD server enables exploitation for initial access (T1190), collection of data from local system and code repositories (T1005, T1213.003), and discovery of credentials in files (T1552.001).
MITRE ATLAS TechniquesAI
MITRE ATLAS techniques
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Automated marking applies security attributes to system outputs, making it harder for attackers to exploit unmarked sensitive information leading to unauthorized exposure.
Proper attribute retention and permitted-value enforcement limits unauthorized actors from accessing sensitive information lacking correct labels.
Prevents unauthorized exposure of sensitive information by prohibiting untrusted external systems from processing or storing it.
By enforcing authorization matching prior to sharing, the control reduces the risk of exposing sensitive information to unauthorized actors.
Review and removal of nonpublic information from publicly accessible systems directly prevents exposure of sensitive data to unauthorized actors.
Data mining protection mechanisms detect and block unauthorized bulk extraction of sensitive data, directly mitigating exposure to unauthorized actors.
Literacy training teaches users to recognize and avoid actions that result in unauthorized exposure of sensitive information.
Retaining and monitoring training records confirms personnel have completed privacy and security awareness training on handling sensitive data, reducing the chance of unauthorized exposure due to lack of knowledge.