CVE-2022-51024
Kavita 0.5.2 before 0.5.4.1 contains a path traversal vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Kareadita/Kavita/commit/88b5ebeb6
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/kavita-l
- huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18
- www.vulncheck.com/advisories/kavita-0.5.4.1-unauthenticated-path-traversal-via-cover-uploa
- nvd.nist.gov/vuln/detail/CVE-2022-51024
- cve.org/CVERecord?id=CVE-2022-51024
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.