CVE-2009-4137 (GCVE-0-2009-4137)
Vulnerability from cvelistv5 – Published: 2009-12-24 16:00 – Updated: 2024-09-16 20:27- n/a
| URL | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2009/12/14/2 | mailing-listx_refsource_MLIST |
| http://piwik.org/blog/2009/12/piwik-response-to-s… | x_refsource_CONFIRM |
| http://www.suspekt.org/downloads/POC2009-Shocking… | x_refsource_MISC |
| http://www.openwall.com/lists/oss-security/2009/12/10/1 | mailing-listx_refsource_MLIST |
| http://www.openwall.com/lists/oss-security/2009/12/09/2 | mailing-listx_refsource_MLIST |
| http://dev.piwik.org/trac/changeset/1637 | x_refsource_CONFIRM |
| http://www.suspekt.org/2009/12/09/advisory-032009… | x_refsource_MISC |
| http://www.sektioneins.de/en/advisories/advisory-… | x_refsource_MISC |
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-07T06:54:09.863Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "[oss-security] 20091214 Re: Piwik \u003c= 0.4.5 Cookie Unserialize() Vulnerability",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
],
"url": "http://www.openwall.com/lists/oss-security/2009/12/14/2"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf"
},
{
"name": "[oss-security] 20091210 Re: Piwik \u003c= 0.4.5 Cookie Unserialize() Vulnerability",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
],
"url": "http://www.openwall.com/lists/oss-security/2009/12/10/1"
},
{
"name": "[oss-security] 20091209 Piwik \u003c= 0.4.5 Cookie Unserialize() Vulnerability",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
],
"url": "http://www.openwall.com/lists/oss-security/2009/12/09/2"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "http://dev.piwik.org/trac/changeset/1637"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The loadContentFromCookie function in core/Cookie.php in Piwik before 0.5 does not validate strings obtained from cookies before calling the unserialize function, which allows remote attackers to execute arbitrary code or upload arbitrary files via vectors related to the __destruct function in the Piwik_Config class; php://filter URIs; the __destruct functions in Zend Framework, as demonstrated by the Zend_Log destructor; the shutdown functions in Zend Framework, as demonstrated by the Zend_Log_Writer_Mail class; the render function in the Piwik_View class; Smarty templates; and the _eval function in Smarty."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2009-12-24T16:00:00.000Z",
"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"shortName": "redhat"
},
"references": [
{
"name": "[oss-security] 20091214 Re: Piwik \u003c= 0.4.5 Cookie Unserialize() Vulnerability",
"tags": [
"mailing-list",
"x_refsource_MLIST"
],
"url": "http://www.openwall.com/lists/oss-security/2009/12/14/2"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf"
},
{
"name": "[oss-security] 20091210 Re: Piwik \u003c= 0.4.5 Cookie Unserialize() Vulnerability",
"tags": [
"mailing-list",
"x_refsource_MLIST"
],
"url": "http://www.openwall.com/lists/oss-security/2009/12/10/1"
},
{
"name": "[oss-security] 20091209 Piwik \u003c= 0.4.5 Cookie Unserialize() Vulnerability",
"tags": [
"mailing-list",
"x_refsource_MLIST"
],
"url": "http://www.openwall.com/lists/oss-security/2009/12/09/2"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "http://dev.piwik.org/trac/changeset/1637"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2009-4137",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "The loadContentFromCookie function in core/Cookie.php in Piwik before 0.5 does not validate strings obtained from cookies before calling the unserialize function, which allows remote attackers to execute arbitrary code or upload arbitrary files via vectors related to the __destruct function in the Piwik_Config class; php://filter URIs; the __destruct functions in Zend Framework, as demonstrated by the Zend_Log destructor; the shutdown functions in Zend Framework, as demonstrated by the Zend_Log_Writer_Mail class; the render function in the Piwik_View class; Smarty templates; and the _eval function in Smarty."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "[oss-security] 20091214 Re: Piwik \u003c= 0.4.5 Cookie Unserialize() Vulnerability",
"refsource": "MLIST",
"url": "http://www.openwall.com/lists/oss-security/2009/12/14/2"
},
{
"name": "http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/",
"refsource": "CONFIRM",
"url": "http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/"
},
{
"name": "http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf",
"refsource": "MISC",
"url": "http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf"
},
{
"name": "[oss-security] 20091210 Re: Piwik \u003c= 0.4.5 Cookie Unserialize() Vulnerability",
"refsource": "MLIST",
"url": "http://www.openwall.com/lists/oss-security/2009/12/10/1"
},
{
"name": "[oss-security] 20091209 Piwik \u003c= 0.4.5 Cookie Unserialize() Vulnerability",
"refsource": "MLIST",
"url": "http://www.openwall.com/lists/oss-security/2009/12/09/2"
},
{
"name": "http://dev.piwik.org/trac/changeset/1637",
"refsource": "CONFIRM",
"url": "http://dev.piwik.org/trac/changeset/1637"
},
{
"name": "http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/",
"refsource": "MISC",
"url": "http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/"
},
{
"name": "http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/",
"refsource": "MISC",
"url": "http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"assignerShortName": "redhat",
"cveId": "CVE-2009-4137",
"datePublished": "2009-12-24T16:00:00.000Z",
"dateReserved": "2009-12-01T00:00:00.000Z",
"dateUpdated": "2024-09-16T20:27:20.841Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2009-4137",
"date": "2026-11-11",
"epss": "0.16949",
"percentile": "0.97102"
},
"nvd": {
"cve": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:matomo:matomo:0.2.25:*:*:*:*:*:*:*",
"matchCriteriaId": "262A0DB0-6CE4-41E7-BDC6-18924C76EDCB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:matomo:matomo:0.2.26:*:*:*:*:*:*:*",
"matchCriteriaId": "D3F37F31-2288-4B86-9EEB-38EE8B1979C2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:matomo:matomo:0.2.27:*:*:*:*:*:*:*",
"matchCriteriaId": "74DBC09F-4B09-490B-8367-93B3257F9DBF",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:matomo:matomo:0.2.28:*:*:*:*:*:*:*",
"matchCriteriaId": "0384553E-FEEB-4AE4-B1F1-1EC99BE07BD9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:matomo:matomo:0.2.29:*:*:*:*:*:*:*",
"matchCriteriaId": "E64C21FE-BCA5-4830-AA85-5959CBE3800D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:matomo:matomo:0.2.30:*:*:*:*:*:*:*",
"matchCriteriaId": "BF976D83-866E-416D-A21C-2BF2A8F95462",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:matomo:matomo:0.2.31:*:*:*:*:*:*:*",
"matchCriteriaId": "1E9EB7C0-C645-4E1A-A7CD-87325BBA81E5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:matomo:matomo:0.2.32:*:*:*:*:*:*:*",
"matchCriteriaId": "998651DF-2552-4A8E-9EA9-AEEED3D39BCB",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "The loadContentFromCookie function in core/Cookie.php in Piwik before 0.5 does not validate strings obtained from cookies before calling the unserialize function, which allows remote attackers to execute arbitrary code or upload arbitrary files via vectors related to the __destruct function in the Piwik_Config class; php://filter URIs; the __destruct functions in Zend Framework, as demonstrated by the Zend_Log destructor; the shutdown functions in Zend Framework, as demonstrated by the Zend_Log_Writer_Mail class; the render function in the Piwik_View class; Smarty templates; and the _eval function in Smarty."
},
{
"lang": "es",
"value": "La funci\u00f3n loadContentFromCookie en core/Cookie.php en Piwik before v0.5 no valida cadenas obtenidoas desde cookies antes de llamar a la funci\u00f3n unserialize, lo que permite a atacantes remotos ejecuta c\u00f3digo o cargar archivos de su elecci\u00f3n a trav\u00e9s de vectores relacionados con la funci\u00f3n the __destruct en la clase Piwik_Config; php://filter URIs; las funciones __destruct en Zend Framework, como qued\u00f3 demostrado por el destructor Zend_Log; las funciones shutdown en Zend Framework, como qued\u00f3 demostrado por la clase Zend_Log_Writer_Mail; la funci\u00f3n render en la clase Piwik_View; plantillas Smarty ; y la funci\u00f3n _eval en Smarty."
}
],
"id": "CVE-2009-4137",
"lastModified": "2026-04-23T00:35:47.467",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "HIGH",
"cvssData": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 7.5,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
]
},
"published": "2009-12-24T16:30:00.250",
"references": [
{
"source": "secalert@redhat.com",
"tags": [
"Vendor Advisory"
],
"url": "http://dev.piwik.org/trac/changeset/1637"
},
{
"source": "secalert@redhat.com",
"tags": [
"Vendor Advisory"
],
"url": "http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/"
},
{
"source": "secalert@redhat.com",
"url": "http://www.openwall.com/lists/oss-security/2009/12/09/2"
},
{
"source": "secalert@redhat.com",
"url": "http://www.openwall.com/lists/oss-security/2009/12/10/1"
},
{
"source": "secalert@redhat.com",
"url": "http://www.openwall.com/lists/oss-security/2009/12/14/2"
},
{
"source": "secalert@redhat.com",
"url": "http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/"
},
{
"source": "secalert@redhat.com",
"url": "http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/"
},
{
"source": "secalert@redhat.com",
"url": "http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Vendor Advisory"
],
"url": "http://dev.piwik.org/trac/changeset/1637"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Vendor Advisory"
],
"url": "http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.openwall.com/lists/oss-security/2009/12/09/2"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.openwall.com/lists/oss-security/2009/12/10/1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.openwall.com/lists/oss-security/2009/12/14/2"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf"
}
],
"sourceIdentifier": "secalert@redhat.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-20"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
}
}
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.