CVE-2024-25975: Application - Path Traversal
- Cve: CVE-2024-25975
- Name: Application - Path Traversal
- Description: The application implements an up- and downvote function which alters a value within a JSON file. The POST parameters are not filtered properly and therefore an arbitrary file can be overwritten. The file can be controlled by an authenticated attacker, the content cannot be controlled. It is possible to overwrite all files for which the webserver has write access. It is required to supply a relative path (path traversal).
- Impact: Authenticated attackers can overwrite arbitrary files on the server, potentially leading to code execution or system compromise.
- Remediation: Implement proper input validation and sanitization for file paths, and restrict file write permissions to necessary directories only.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: logged_in
- Requirements: Attacker must be authenticated and supply a relative path with path traversal
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00592
- Epss percentile: 0.49189
- Assignee: 551230f0-3615-47bd-b7cc-93e92e730bbf
- Published at: 2024-05-29T14:15:21Z
- Age in days: 909
- Modified at: 2026-06-17T07:16:50Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-25975
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-73 | External Control of File Name or Path |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| http://seclists.org/fulldisclosure/2024/May/34 |
| https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1 |
| https://r.sec-consult.com/hawki |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| hawki:hawki | < commit_146967f | no | adp_cpes | /v1/products/hawki/hawki |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| hawk-digital-environments/HAWKI | commit | yes | /v1/repositories/hawk-digital-environments/HAWKI |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts