nday
CVE-2009-4140

Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2 Beta 1…Title composed by nday; the CVE record has none.

A public PoC appeared 5 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in AV:N/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Metasploit
Metasploit modules exploit/unix/webapp/open_flash_chart_upload_exec, exploit/unix/webapp/openemr_upload_exec
Exploit-DB
Exploit-DB entries 10532, 24492, 24529, 24969, 29091, 29210

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2009-12-22T22:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2009-12-17, date only +5 more
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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/.

Original text of the CVE record (cvelist), shown as published.

Event log

2009-12-17date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Piwik Open Flash Chart - Remote Code Execution (RCE)” (EDB-10532).

src exploitdb 10532 · nday , bulk import · raw
{
  "id": 38066,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/10532",
  "occurred_at": "2009-12-17T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "10532",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/10532",
    "file": "exploits/php/webapps/10532.txt",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Piwik Open Flash Chart - Remote Code Execution (RCE)",
    "author": "Braeden Thomas",
    "edb_id": 10532,
    "cve_ids": [
      "CVE-2011-4275",
      "CVE-2009-4140"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2009-12-16",
    "date_updated": null,
    "date_published": "2009-12-17"
  }
}
+DISdisclosed

CVE record published by redhat.

src cvelist · nday , bulk import · raw
{
  "id": 113324,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2009-4140",
  "occurred_at": "2009-12-22T22:00:00Z",
  "observed_at": "2026-11-13T05:36:00.493274Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2009-12-22T22:00:00.000Z",
    "assigner_short_name": "redhat"
  }
}
2013-02-13date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “OpenEMR 4.1.1 - 'ofc_upload_image.php' Arbitrary File Upload” (EDB-24492). Verified by Exploit-DB.

src exploitdb 24492 · nday , bulk import · raw
{
  "id": 36219,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/24492",
  "occurred_at": "2013-02-13T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "24492",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/24492",
    "file": "exploits/php/webapps/24492.php",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "OpenEMR 4.1.1 - 'ofc_upload_image.php' Arbitrary File Upload",
    "author": "LiquidWorm",
    "edb_id": 24492,
    "cve_ids": [
      "CVE-2011-4275",
      "CVE-2009-4140"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2013-02-15",
    "date_updated": "2013-02-15",
    "date_published": "2013-02-13"
  }
}
2013-02-20date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “OpenEMR - Arbitrary '.PHP' File Upload (Metasploit)” (EDB-24529). Verified by Exploit-DB.

src exploitdb 24529 · nday , bulk import · raw
{
  "id": 28709,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/24529",
  "occurred_at": "2013-02-20T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "24529",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/24529",
    "file": "exploits/php/remote/24529.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "OpenEMR - Arbitrary '.PHP' File Upload (Metasploit)",
    "author": "Metasploit",
    "edb_id": 24529,
    "cve_ids": [
      "CVE-2011-4275",
      "CVE-2009-4140"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2013-02-20",
    "date_updated": "2013-02-20",
    "date_published": "2013-02-20"
  }
}
2013-04-22date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Joomla! Component com_civicrm 4.2.2 - Remote Code Injection” (EDB-24969). Verified by Exploit-DB.

src exploitdb 24969 · nday , bulk import · raw
{
  "id": 33676,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/24969",
  "occurred_at": "2013-04-22T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "24969",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/24969",
    "file": "exploits/php/webapps/24969.php",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Joomla! Component com_civicrm 4.2.2 - Remote Code Injection",
    "author": "iskorpitx",
    "edb_id": 24969,
    "cve_ids": [
      "CVE-2011-4275",
      "CVE-2009-4140"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2013-04-22",
    "date_updated": "2016-12-15",
    "date_published": "2013-04-22"
  }
}
2013-10-20date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “ZonPHP 2.25 - Remote Code Execution (RCE)” (EDB-29091). Verified by Exploit-DB.

src exploitdb 29091 · nday , bulk import · raw
{
  "id": 42243,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/29091",
  "occurred_at": "2013-10-20T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "29091",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/29091",
    "file": "exploits/php/webapps/29091.php",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "ZonPHP 2.25 - Remote Code Execution (RCE)",
    "author": "Halim Cruzito",
    "edb_id": 29091,
    "cve_ids": [
      "CVE-2011-4275",
      "CVE-2009-4140"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2013-10-23",
    "date_updated": "2013-10-23",
    "date_published": "2013-10-20"
  }
}
2013-10-26date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Open Flash Chart 2 - Arbitrary File Upload (Metasploit)” (EDB-29210). Verified by Exploit-DB.

src exploitdb 29210 · nday , bulk import · raw
{
  "id": 28707,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/29210",
  "occurred_at": "2013-10-26T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "29210",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/29210",
    "file": "exploits/php/remote/29210.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "Open Flash Chart 2 - Arbitrary File Upload (Metasploit)",
    "author": "Metasploit",
    "edb_id": 29210,
    "cve_ids": [
      "CVE-2011-4275",
      "CVE-2009-4140"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2013-10-26",
    "date_updated": "2013-10-26",
    "date_published": "2013-10-26"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/unix/webapp/open_flash_chart_upload_exec (Open Flash Chart v2 Arbitrary File Upload). The source gives no release time for the module.

src metasploit exploit/unix/webapp/open_flash_chart_upload_exec · nday , bulk import · raw
{
  "id": 51784,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/open_flash_chart_upload_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/unix/webapp/open_flash_chart_upload_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/open_flash_chart_upload_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/unix/webapp/open_flash_chart_upload_exec.rb",
    "rank": 500,
    "check": true,
    "title": "Open Flash Chart v2 Arbitrary File Upload",
    "cve_ids": [
      "CVE-2009-4140"
    ],
    "fullname": "exploit/unix/webapp/open_flash_chart_upload_exec",
    "rank_name": "great",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:59:12 +0000",
    "vuln_disclosure_date": "2009-12-14"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/unix/webapp/openemr_upload_exec (OpenEMR PHP File Upload Vulnerability). The source gives no release time for the module.

src metasploit exploit/unix/webapp/openemr_upload_exec · nday , bulk import · raw
{
  "id": 51786,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/openemr_upload_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/unix/webapp/openemr_upload_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/openemr_upload_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/unix/webapp/openemr_upload_exec.rb",
    "rank": 600,
    "check": true,
    "title": "OpenEMR PHP File Upload Vulnerability",
    "cve_ids": [
      "CVE-2009-4140"
    ],
    "fullname": "exploit/unix/webapp/openemr_upload_exec",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:59:12 +0000",
    "vuln_disclosure_date": "2013-02-13"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.