CVE-2009-4140
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/.
CVSS
- Versión: 2.0
- Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P
- Puntuación base: 7.5
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 76%
- Percentil entre todas las CVEs puntuadas: 100
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
💥 Exploits públicos
Hay código de explotación o plantillas de detección públicos. No es lo mismo que explotación activa confirmada (KEV), pero aumenta el riesgo: parchee con prioridad.
- Módulo de Metasploit (exploit fiable y al alcance de cualquiera) · Open Flash Chart v2 Arbitrary File Upload
- Módulo de Metasploit (exploit fiable y al alcance de cualquiera) · OpenEMR PHP File Upload Vulnerability
- Publicado en Exploit-DB · Open Flash Chart 2 - Arbitrary File Upload (Metasploit) (26/10/2013)
- Publicado en Exploit-DB · ZonPHP 2.25 - Remote Code Execution (20/10/2013)
- Publicado en Exploit-DB · Joomla! Component com_civicrm 4.2.2 - Remote Code Injection (22/4/2013)
- Publicado en Exploit-DB · OpenEMR - Arbitrary '.PHP' File Upload (Metasploit) (20/2/2013)
- Publicado en Exploit-DB · OpenEMR 4.1.1 - 'ofc_upload_image.php' Arbitrary File Upload (13/2/2013)
- Publicado en Exploit-DB · Piwik Open Flash Chart - Remote Code Execution (17/12/2009)
Tecnologías afectadas (2)
CWE
- NVD-CWE-Other
Referencias
- http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt
- http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt
- http://packetstormsecurity.org/0910-exploits/piwik-upload.txt
- http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/
- http://secunia.com/advisories/37078
- http://secunia.com/advisories/37911
- http://secunia.com/advisories/55160
- http://secunia.com/advisories/55162
- http://wordpress.org/extend/plugins/woopra/changelog/
- http://www.exploit-db.com/exploits/24969
- http://www.openwall.com/lists/oss-security/2009/12/14/1
- http://www.openwall.com/lists/oss-security/2009/12/14/3
- http://www.osvdb.org/59051
- http://www.securityfocus.com/bid/37314
- http://www.vupen.com/english/advisories/2009/2966
- https://exchange.xforce.ibmcloud.com/vulnerabilities/53825
- http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt
- http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt
- http://packetstormsecurity.org/0910-exploits/piwik-upload.txt
- http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/
- http://secunia.com/advisories/37078
- http://secunia.com/advisories/37911
- http://secunia.com/advisories/55160
- http://secunia.com/advisories/55162
- http://wordpress.org/extend/plugins/woopra/changelog/
- http://www.exploit-db.com/exploits/24969
- http://www.openwall.com/lists/oss-security/2009/12/14/1
- http://www.openwall.com/lists/oss-security/2009/12/14/3
- http://www.osvdb.org/59051
- http://www.securityfocus.com/bid/37314
- http://www.vupen.com/english/advisories/2009/2966
- https://exchange.xforce.ibmcloud.com/vulnerabilities/53825
JSON original (NVD)
Mostrar
{
"id": "CVE-2009-4140",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 7.5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "LOW",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "HIGH",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2009-12-22T22:30:00.530",
"references": [
{
"url": "http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt",
"source": "secalert@redhat.com"
},
{
"url": "http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt",
"source": "secalert@redhat.com"
},
{
"url": "http://packetstormsecurity.org/0910-exploits/piwik-upload.txt",
"tags": [
"Exploit"
],
"source": "secalert@redhat.com"
},
{
"url": "http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/",
"tags": [
"Vendor Advisory"
],
"source": "secalert@redhat.com"
},
{
"url": "http://secunia.com/advisories/37078",
"tags": [
"Vendor Advisory"
],
"source": "secalert@redhat.com"
},
{
"url": "http://secunia.com/advisories/37911",
"tags": [
"Vendor Advisory"
],
"source": "secalert@redhat.com"
},
{
"url": "http://secunia.com/advisories/55160",
"source": "secalert@redhat.com"
},
{
"url": "http://secunia.com/advisories/55162",
"source": "secalert@redhat.com"
},
{
"url": "http://wordpress.org/extend/plugins/woopra/changelog/",
"source": "secalert@redhat.com"
},
{
"url": "http://www.exploit-db.com/exploits/24969",
"source": "secalert@redhat.com"
},
{
"url": "http://www.openwall.com/lists/oss-security/2009/12/14/1",
"source": "secalert@redhat.com"
},
{
"url": "http://www.openwall.com/lists/oss-security/2009/12/14/3",
"source": "secalert@redhat.com"
},
{
"url": "http://www.osvdb.org/59051",
"source": "secalert@redhat.com"
},
{
"url": "http://www.securityfocus.com/bid/37314",
"tags": [
"Exploit"
],
"source": "secalert@redhat.com"
},
{
"url": "http://www.vupen.com/english/advisories/2009/2966",
"tags": [
"Vendor Advisory"
],
"source": "secalert@redhat.com"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/53825",
"source": "secalert@redhat.com"
},
{
"url": "http://packetstormsecurity.com/files/123493/wpseowatcher-exec.txt",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://packetstormsecurity.com/files/123494/wpslimstatex-exec.txt",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://packetstormsecurity.org/0910-exploits/piwik-upload.txt",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://piwik.org/blog/2009/10/piwik-response-to-secunia-advisory-sa37078/",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/37078",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/37911",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/55160",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/55162",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://wordpress.org/extend/plugins/woopra/changelog/",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.exploit-db.com/exploits/24969",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.openwall.com/lists/oss-security/2009/12/14/1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.openwall.com/lists/oss-security/2009/12/14/3",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.osvdb.org/59051",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/37314",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.vupen.com/english/advisories/2009/2966",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/53825",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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/."
},
{
"lang": "es",
"value": "Una vulnerabilidad de carga de archivos sin restricciones en el archivo ofc_upload_image.php en Open Flash Chart versión v2 Beta 1 hasta v2 Lug Wyrm Charmer, tal como es usado en Piwik versiones 0.2.35 hasta 0.4.3, Plugin Woopra Analytics anterior a versión 1.4.3.2, y posiblemente otros productos, cuando register_globals está habilitado, permite a los usuarios autenticados remotos ejecutar código arbitrario mediante la carga de un archivo con una extensión ejecutable por medio del parámetro name con el código en el parámetro HTTP_RAW_POST_DATA, a continuación, acceder a él por medio de una petición directa al archivo en tmp-upload-images/"
}
],
"lastModified": "2026-06-16T23:13:06.880",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:beta_1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CAFD137D-4772-49C4-8EDE-74F838BFB1D2"
},
{
"criteria": "cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:gamera:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F9FC6227-6C33-4533-9263-C43CC218E314"
},
{
"criteria": "cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:hyperion:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7AE13D32-E4A6-4274-9AAF-8CFB37E0CC4E"
},
{
"criteria": "cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:ichor:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "EFFC03CB-7773-4CAF-AF9D-E2F50FDB8F1F"
},
{
"criteria": "cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:j_rmungandr:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4C0AEFA3-7433-4A79-BED0-0C44FBB916BC"
},
{
"criteria": "cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:j_rmungandr-2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9C544F30-E14B-4B34-B8E8-6F984ECEF72A"
},
{
"criteria": "cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:kvasir:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "139C1538-502B-41FC-9DB7-229F5FD3A939"
},
{
"criteria": "cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:lug_wyrm_charmer:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "014A2738-B528-472F-8E0F-A206F9D423C3"
}
],
"operator": "OR"
},
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:matomo:matomo:0.2.37:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D0FD1280-C769-4B8D-B0F4-26B405E080CA"
},
{
"criteria": "cpe:2.3:a:matomo:matomo:0.4.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "863EB628-3970-4F96-81E8-827FCDAE91E7"
},
{
"criteria": "cpe:2.3:a:matomo:matomo:0.4.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5617FB7C-649A-44FD-A9F8-2275F51EFA71"
}
],
"operator": "OR"
}
],
"operator": "AND"
}
],
"sourceIdentifier": "secalert@redhat.com"
}