CVE-2012-2315
admin/Auth in OpenKM 5.1.7 and other versions before 5.1.8-2 does not properly enforce privileges for changing user roles, which allows…
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
admin/Auth in OpenKM 5.1.7 and other versions before 5.1.8-2 does not properly enforce privileges for changing user roles, which allows remote authenticated users to assign administrator privileges to arbitrary users via the userEdit action.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Exploit-DB1 entry
- OpenKM Document Management System 5.1.7 - Command Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 18888webapps, jsppublished 3 Jan 2012Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 5 months later
· 5 months later
Published
- 12 years later
· 12 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 6.2% · top 6.4% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.0.
Weakness
Affected products
n/a
- affected n/a
References (11)
- [oss-security] 20120323 CVE-request: OpenKM 5.1.7 Privilege Escalation / OS Command Execution (XSRF based) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20120504 Re: CVE-request: OpenKM 5.1.7 Privilege Escalation / OS Command Execution (XSRF based) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 51250 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 20120103 OpenKM 5.1.7 Privilege Escalation (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- [oss-security] 20120323 Re: CVE-request: OpenKM 5.1.7 Privilege Escalation / OS Command Execution (XSRF based) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20120104 Re: OpenKM 5.1.7 Privilege Escalation (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- [oss-security] 20120504 Re: CVE-request: OpenKM 5.1.7 Privilege Escalation / OS Command Execution (XSRF based) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- openkm-userpermissions-security-bypass(72112) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- [oss-security] 20120427 Re: CVE-request: OpenKM 5.1.7 Privilege Escalation / OS Command Execution (XSRF based) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 47424 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 78105 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2012-2308 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-2315)Record last updated .