patchminder
Weaponized · Metasploit CVE-2009-4140

Remote code executionin CVE-2009-4140.

Published 22 Dec 2009 · Updated 7 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 75.8% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2 Beta 1 through v2 Lug Wyrm Charmer, as used in Piwik 0.2.35 through 0.4.3, Woopra Analytics Plugin before 1.4.3.2, and possibly other products, when register_globals is enabled, allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension through the name parameter with the code in the HTTP_RAW_POST_DATA parameter, then accessing it via a direct request to the file in tmp-upload-images/.

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: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
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. 1 Dec 2009
    CVE ID reserved by redhat.
  2. 14 Dec 2009
    Metasploit module: Open Flash Chart v2 Arbitrary File Upload.
  3. 22 Dec 2009
    Published in the CVE List.
  4. 7 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
2 modules
Nuclei scan template
None known
Exploit-DB
6 entries
GitHub proof of concepts
None known
MetasploitOpen Flash Chart v2 Arbitrary File Uploadrank greatLinked once a fix or workaround is known.
MetasploitOpenEMR PHP File Upload Vulnerabilityrank excellentLinked once a fix or workaround is known.
Exploit-DBEDB-ID 29210remote exploit for php, published 26 Oct 2013, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 24529remote exploit for php, published 20 Feb 2013, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 24969web application exploit for php, published 22 Apr 2013, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 24492web application exploit for php, published 13 Feb 2013, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 10532web application exploit for php, published 17 Dec 2009Linked once a fix or workaround is known.
Exploit-DBEDB-ID 29091web application exploit for php, published 20 Oct 2013, verified by Exploit-DBLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed 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.

References
Cite this page

Patchminder. CVE-2009-4140: Remote code execution in CVE-2009-4140. https://patchminder.com/cve/cve-2009-4140/ (accessed 5 December 2026).