{"id":"CVE-2012-10040","published":"2025-08-11T14:56:01Z","modified":"2026-04-07T14:02:36Z","title":"Openfiler v2.x NetworkCard Command Execution","vendor":"Openfiler","product":"Openfiler","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03325,"percentile":0.88899,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/openfiler_networkcard_exec.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/21191","tags":["exploit"]},{"url":"https://www.openfiler.com/","tags":["product"]},{"url":"https://sourceforge.net/projects/openfiler/","tags":["product"]},{"url":"http://web.archive.org/web/20210922060411/https://itsecuritysolutions.org/2012-09-06-Openfiler-v2.x-multiple-vulnerabilities/","tags":["technical-description","exploit"]}],"priority":{"score":29.4,"factors":[{"name":"EPSS percentile","points":17.78},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.58}]},"exploitSources":{"metasploit":[{"name":"Openfiler v2.x NetworkCard Command Execution","module":"exploit/linux/http/openfiler_networkcard_exec","type":"exploit","disclosureDate":"2012-09-04","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/openfiler_networkcard_exec.rb"}],"first":{"date":"2012-09-04","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/openfiler_networkcard_exec.rb"},"provenance":"source"},"vendorSlug":"openfiler","affectedVersions":[{"vendor":"Openfiler","product":"Openfiler","versions":["2.0"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-08-11T15:52:16.200279Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2012-6596","exploited":false,"provenance":"source"},"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/openfiler_networkcard_exec.rb","https://www.exploit-db.com/exploits/21191","http://web.archive.org/web/20210922060411/https://itsecuritysolutions.org/2012-09-06-Openfiler-v2.x-multiple-vulnerabilities/"]}