CVEvulnerability

CVE-2024-25975

6.5 MEDIUM Published 2024-05-29 Modified 2026-06-17 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