CVE-2024-6396
Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim
Record summary
CVE-2024-6396 has a selected CVSS score of 9.8 (critical); EIP currently links 1 Nuclei template.
Description
A vulnerability in the `_backup_run` function in aimhubio/aim version 3.19.3 allows remote attackers to overwrite any file on the host server and exfiltrate arbitrary data. The vulnerability arises due to improper handling of the `run_hash` and `repo.path` parameters, which can be manipulated to create and write to arbitrary file paths. This can lead to denial of service by overwriting critical system files, loss of private data, and potential remote code execution.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Sep 16, 2024 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Jul 12, 2024 · Source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
Default status: unknown | VulnCheck, CVE List | 3.19.3 | affected |
aimhubio/aimBrowse aimhubio / aimhubio/aim | CVE List | Through latest | affected |
Nuclei templates
1ProjectDiscoveryCRITICALAimhubio Aim Server 3.19.3 - Arbitrary File OverwriteCVSS 9.8
A vulnerability in the `_backup_run` function in aimhubio/aim version 3.19.3 allows remote attackers to overwrite any file on the host server and exfiltrate arbitrary data. The vulnerability arises due to improper handling of the `run_hash` and `repo.path` parameters, which can be manipulated to create and write to arbitrary file paths. This can lead to denial of service by overwriting critical system files, loss of private data, and potential remote code execution.
Impact
Unauthenticated attackers can overwrite arbitrary files on the host server and exfiltrate data by manipulating the _backup_run function parameters, potentially achieving denial of service, data loss, or remote code execution.
Remediation
Update Aimhubio Aim to version 3.19.4 or later to address the arbitrary file overwrite vulnerability.
Source: ProjectDiscovery