CVE-2022-51024 | BDVDB-2026-394236 Detail
KareaditaKavita
Description#
Kavita 0.5.2 before 0.5.4.1 contains a path traversal vulnerability that allows unauthenticated attackers to read arbitrary files by supplying '../' sequences in the filename parameter. Attackers can send GET requests to /api/image/cover-upload with filename values like ../appsettings.json to retrieve configuration files outside the temp directory. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.
Impact#
Per CVSS v3.1: confidentiality impact high, integrity impact none, availability impact none. Attack vector: network.
Weaknesses#
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References#
- https://huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18
- https://github.com/Kareadita/Kavita/commit/88b5ebeb6
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/kavita-lfi.yaml
- https://www.vulncheck.com/advisories/kavita-0.5.4.1-unauthenticated-path-traversal-via-cover-upload-endpoint
Exploit#
No public exploit known
History#
- Version 1Record published in the CVE List.
- Version 2Most recent update recorded in the CVE List.