CVE-2012-2316

OpenKM < 5.1.8-2 - Cross-Site Request Forgery via Admin Scripting Endpoint

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-2316. PoCs published by Cyrill Brunschwiler.

AI-analyzed exploit summary This exploit demonstrates a CSRF-based OS command execution vulnerability in OpenKM Document Management System 5.1.7. It leverages the lack of anti-CSRF tokens to execute arbitrary commands via the admin/scripting.jsp endpoint, requiring an authenticated administrator to visit a malicious URL or HTML page.

Description

Cross-site request forgery (CSRF) vulnerability in servlet/admin/AuthServlet.java in OpenKM 5.1.7 and other versions before 5.1.8-2 allows remote attackers to hijack the authentication of administrators for requests that execute arbitrary code via the script parameter to admin/scripting.jsp.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Cyrill Brunschwiler · textwebappsjsp
https://www.exploit-db.com/exploits/18888

This exploit demonstrates a CSRF-based OS command execution vulnerability in OpenKM Document Management System 5.1.7. It leverages the lack of anti-CSRF tokens to execute arbitrary commands via the admin/scripting.jsp endpoint, requiring an authenticated administrator to visit a malicious URL or HTML page.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: OpenKM Document Management System 5.1.7
Auth required
Prerequisites: Administrator session in OpenKM · Access to admin/scripting.jsp
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (10)

Core 10
Core References
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/03/23/6
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/05/04/2
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/03/23/8
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/47420
Third Party Advisory x_refsource_confirm
http://wiki.openkm.com/index.php/Changelog
Exploit mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2012-01/0008.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/78106
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/05/04/13
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/04/27/6

Scores

EPSS 0.0425
EPSS Percentile 89.8%

Details

CWE
CWE-352
Status published
Products (2)
openkm/openkm 5.1.7
openkm/openkm 5.1.8
Published Sep 09, 2012
Tracked Since Feb 18, 2026