Unrated severityNVD Advisory· Published Dec 24, 2009· Updated Jun 16, 2026
CVE-2009-4137
CVE-2009-4137
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
9cpe:2.3:a:matomo:matomo:0.2.25:*:*:*:*:*:*:*+ 7 more
- cpe:2.3:a:matomo:matomo:0.2.25:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.26:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.27:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.28:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.29:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.30:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.31:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.32:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
8- dev.piwik.org/trac/changeset/1637nvdVendor Advisory
- piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/nvdVendor Advisory
- www.openwall.com/lists/oss-security/2009/12/09/2nvd
- www.openwall.com/lists/oss-security/2009/12/10/1nvd
- www.openwall.com/lists/oss-security/2009/12/14/2nvd
- www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/nvd
- www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/nvd
- www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdfnvd
News mentions
0No linked articles in our index yet.