The loadContentFromCookie function in core/Cookie.php in Piwik before 0.5 does not…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:matomo:matomo:0.2.25:*:*:*:*:*:*:* | 0.2.25 | Vulnerable | Matomo |
| cpe:2.3:a:matomo:matomo:0.2.26:*:*:*:*:*:*:* | 0.2.26 | Vulnerable | Matomo |
| cpe:2.3:a:matomo:matomo:0.2.27:*:*:*:*:*:*:* | 0.2.27 | Vulnerable | Matomo |
| cpe:2.3:a:matomo:matomo:0.2.28:*:*:*:*:*:*:* | 0.2.28 | Vulnerable | Matomo |
| cpe:2.3:a:matomo:matomo:0.2.29:*:*:*:*:*:*:* | 0.2.29 | Vulnerable | Matomo |
| cpe:2.3:a:matomo:matomo:0.2.30:*:*:*:*:*:*:* | 0.2.30 | Vulnerable | Matomo |
| cpe:2.3:a:matomo:matomo:0.2.31:*:*:*:*:*:*:* | 0.2.31 | Vulnerable | Matomo |
| cpe:2.3:a:matomo:matomo:0.2.32:*:*:*:*:*:*:* | 0.2.32 | Vulnerable | Matomo |
- cpe:2.3:a:matomo:matomo:0.2.25:*:*:*:*:*:*:* Versions 0.2.25 Vulnerable ·Matomo
- cpe:2.3:a:matomo:matomo:0.2.26:*:*:*:*:*:*:* Versions 0.2.26 Vulnerable ·Matomo
- cpe:2.3:a:matomo:matomo:0.2.27:*:*:*:*:*:*:* Versions 0.2.27 Vulnerable ·Matomo
- cpe:2.3:a:matomo:matomo:0.2.28:*:*:*:*:*:*:* Versions 0.2.28 Vulnerable ·Matomo
- cpe:2.3:a:matomo:matomo:0.2.29:*:*:*:*:*:*:* Versions 0.2.29 Vulnerable ·Matomo
- cpe:2.3:a:matomo:matomo:0.2.30:*:*:*:*:*:*:* Versions 0.2.30 Vulnerable ·Matomo
- cpe:2.3:a:matomo:matomo:0.2.31:*:*:*:*:*:*:* Versions 0.2.31 Vulnerable ·Matomo
- cpe:2.3:a:matomo:matomo:0.2.32:*:*:*:*:*:*:* Versions 0.2.32 Vulnerable ·Matomo
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2009-4137
- 2026-10-03 Alias added: GHSA-56c3-9h8h-r922
References
Advisory 2
Other 6
- [oss-security] 20091214 Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability
- http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf
- [oss-security] 20091210 Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability
- [oss-security] 20091209 Piwik <= 0.4.5 Cookie Unserialize() Vulnerability
- http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/
- http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/
More Matomo vulnerabilities
- TI-2009-03925 Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2… CVSS 2.0HIGH 7.5
- TI-2015-06492 The DisplayTopKeywords function in plugins/Referrers/Controller.php in Piwik before… CVSS 2.0HIGH 7.5
- TI-2015-06491 Directory traversal vulnerability in core/ViewDataTable/Factory.php in Piwik before… CVSS 2.0HIGH 7.5
- TI-2010-02663 Directory traversal vulnerability in Piwik 0.6 through 0.6.3 allows remote attackers to… CVSS 2.0MEDIUM 6.8
- TI-2011-04251 Unspecified vulnerability in Piwik 1.2 through 1.4 allows remote attackers with the view… CVSS 2.0MEDIUM 6.8
- TI-2011-00333 The Piwik_Common::getIP function in Piwik before 1.1 does not properly determine the… CVSS 2.0MEDIUM 6.4
Sources
- CVE-2009-4137 · CVE Program
- CVE-2009-4137 · NVD
- FIRST EPSS
- GHSA-56c3-9h8h-r922 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences