patchminder
Weaponized · Metasploit CVE-2012-10040

Code executionin CVE-2012-10040.

Published 11 Aug 2025 · Updated 7 Apr 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Critical 9.4
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 10.1% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

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.

What to do now
  • No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.

Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Openfiler
2.0
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 4 Sep 2012
    Metasploit module: Openfiler v2.x NetworkCard Command Execution.
  2. 7 Aug 2025
    CVE ID reserved by VulnCheck.
  3. 11 Aug 2025
    Published in the CVE List.
  4. 7 Apr 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
None known
MetasploitOpenfiler v2.x NetworkCard Command Executionrank excellentLinked once a fix or workaround is known.
Exploit-DBEDB-ID 21191remote exploit for linux, published 10 Sep 2012, verified by Exploit-DBLinked once a fix or workaround is known.
Referenceraw.githubusercontent.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referenceweb.archive.orgnamed as exploit in the CVE recordLinked once a fix or workaround is known.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2012-10040: Code execution in CVE-2012-10040. https://patchminder.com/cve/cve-2012-10040/ (accessed 5 December 2026).