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.033, 88.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Openfiler — versions 2.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
This CVE has public exploit evidence. See the latest CVEs with public exploits.