CVE-2009-4137

Summary

CVECVE-2009-4137
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2009-12-24 16:30:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Matomo Matomo 0.2.25 All All All
Application Matomo Matomo 0.2.26 All All All
Application Matomo Matomo 0.2.27 All All All
Application Matomo Matomo 0.2.28 All All All
Application Matomo Matomo 0.2.29 All All All
Application Matomo Matomo 0.2.30 All All All
Application Matomo Matomo 0.2.31 All All All
Application Matomo Matomo 0.2.32 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Piwik 0.5, response to "Shocking News in PHP Exploitation" - Piwik af854a3a-2127-422b-91ae-364da2661108 piwik.org Vendor Advisory
oss-security - Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
oss-security - Piwik <= 0.4.5 Cookie Unserialize() Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Suspekt… » Blog Archive » Advisory 03/2009: Piwik Cookie unserialize() Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.suspekt.org
Be Suspicious. Online Security Blog - Suspekt.org af854a3a-2127-422b-91ae-364da2661108 www.suspekt.org
Advisory 03/2009: Piwik Cookie unserialize() Vulnerability « SektionEins GmbH af854a3a-2127-422b-91ae-364da2661108 www.sektioneins.de
404 Not Found af854a3a-2127-422b-91ae-364da2661108 dev.piwik.org Vendor Advisory
oss-security - Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report