RCE in Openfiler
CVE-2012-10040
Openfiler v2.x contains a command injection vulnerability in the system.html page. The device parameter is used to instantiate a NetworkCard object, whose constructor in network.inc calls exec() with unsanitized input. An authenticated attacker can exploit this to execute arbitrary commands as the openfiler user. Due to misconfigured sudoers, the openfiler user can escalate privileges to root via sudo /bin/bash without a password.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
EPSS exploit prediction
EPSS: 0.024 (83.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 83rd percentile — 83.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.024 · newest: 0.024 · change: 0.000
Affected products
- Openfiler — versions 2.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/l… (exploit)
- www.exploit-db.com/exploits/21191 (exploit)
- www.openfiler.com/ (product)
- sourceforge.net/projects/openfiler/ (product)
- web.archive.org/web/20210922060411/https://itsecuritysolutions.org/2012-09-06-O… (technical-description, exploit)
Frequently asked questions
- What is CVE-2012-10040?
- CVE-2012-10040 is a vulnerability in Openfiler, classified under OS Command Injection. Published 2025-08-11.
- Is CVE-2012-10040 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.