Description
OpenKM 6.3.12 contains a local file inclusion vulnerability in the administrative scripting interface at /admin/Scripting that allows authenticated administrators to read arbitrary files by supplying an attacker-controlled filesystem path through the fsPath parameter with action=Load. Attackers can exploit this to access sensitive files including /etc/passwd, configuration files containing database credentials, and JVM keystores accessible to the OpenKM process.
Problem types
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version
Any version
Credits
Terra System Labs Pvt. Ltd.
References
www.exploit-db.com/exploits/52520 (ExploitDB-52520)
www.openkm.com/ (Official Product Homepage)
hub.docker.com/r/openkm/openkm-ce (Product Reference)
terrasystemlabs.com/...day-vulnerabilities-terra-system-labs (Vulnerability Advisory)
github.com/...asystemlabs/Exploits/tree/main/OpenKM-Exploits (Proof-of-Concept Toolkit)
github.com/...s/nuclei-templates/openkm-local-file-execution (Nuclei Detection Template)
www.vulncheck.com/...ocal-file-inclusion-via-admin-scripting (VulnCheck Advisory: OpenKM 6.3.12 Local File Inclusion via Admin Scripting)