CVEvulnerability
CVE-2024-25975
6.5 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2024-05-29
- Last modified
- 2026-06-17
- Assigner
- 551230f0-3615-47bd-b7cc-93e92e730bbf
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-73
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).
Related
Weakness · CWE (1)
- CWE-73 External Control of File Name or Path weakness
References
- http://seclists.org/fulldisclosure/2024/May/34 seclists.org
- https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1 github.com
- https://r.sec-consult.com/hawki r.sec-consult.com
- http://seclists.org/fulldisclosure/2024/May/34 seclists.org
- https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1 github.com
- https://r.sec-consult.com/hawki r.sec-consult.com