{"id":"CVE-2009-4137","url":"https://www.cyber-defence.io/tools/cve/CVE-2009-4137","generatedAt":"2026-10-27T19:53:46.276Z","title":"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…","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.","published":"2009-12-24T16:30:00.000Z","lastModified":"2026-06-16T23:13:06.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":7.5,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P"},"cwe":["CWE-20"],"affected":["matomo/matomo"],"epss":{"score":0.16949,"percentile":0.97042,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 16.9%, higher than 97% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://dev.piwik.org/trac/changeset/1637","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/","tags":["Vendor Advisory"],"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":"secalert@redhat.com"},{"url":"http://dev.piwik.org/trac/changeset/1637","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/","tags":["Vendor Advisory"],"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","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2009-4137","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}