What’s Vulnerable › Vulnerabilities
CVE-2012-10040: Openfiler v2.x NetworkCard Command Execution
- Severity: critical (CVSS 9.4 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-11 · updated 2026-06-16
- Weakness: CWE-78
Description
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.
Affected products
- Openfiler: 2.0
References
- http://web.archive.org/web/20210922060411/https://itsecuritysolutions.org/2012-09-06-Openfiler-v2.x-multiple-vulnerabilities/
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/openfiler_networkcard_exec.rb
- https://sourceforge.net/projects/openfiler/
- https://www.exploit-db.com/exploits/21191
- https://www.openfiler.com/
Get alerted when CVE-2012-10040 or the next vulnerability affects your stack