CVE-2022-51024
JSON

8.7high

Kavita < 0.5.4.1 Unauthenticated Path Traversal via cover-upload Endpoint

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.61% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
Kareadita Kavitafrom 0.5.2 before 0.5.4.1CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Kavita 0.5.2, versiones anteriores a 0.5.4.1, contiene una vulnerabilidad de salto de ruta que permite a atacantes no autenticados leer archivos arbitrarios al proporcionar secuencias ’.. / ’ en el parámetro filename. Los atacantes pueden enviar solicitudes GET a /api/image/cover-upload con valores de filename como .. / appsettings.json para recuperar archivos de configuración fuera del directorio temporal. La evidencia de explotación se observó por primera vez por la Shadowserver Foundation el 2023-10-18.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-51024 changed 2026-10-29CVE Terms of Use
NVDCVE-2022-51024 changed 2026-11-10Public domain