CVE-2009-4137
published 2009-12-24CVE-2009-4137: The loadContentFromCookie function in core/Cookie.php in Piwik before 0.5 does not validate strings obtained from cookies before calling the unserialize…
PriorityP352high7.5CVSS 2.0
AVNACLAuNCPIPAP
EPSS
16.95%
96.7th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | matomo | — | — |
| matomo | matomo | — | — |
| matomo | matomo | — | — |
| matomo | matomo | — | — |
| matomo | matomo | — | — |
| matomo | matomo | — | — |
| matomo | matomo | — | — |
| matomo | matomo | — | — |
| matomo | matomo | — | — |
CVSS provenance
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vendor_debian7.5LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2009-4137: matomo - The loadContentFromCookie function in core/Cookie.php in Piwik before 0.5 does n...
vendor_debian·2009·CVSS 7.5
CVE-2009-4137 [HIGH] CVE-2009-4137: matomo - The loadContentFromCookie function in core/Cookie.php in Piwik before 0.5 does n...
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.
Scope: local
sid: resolved
trixie: resolved
GHSA
GHSA-56c3-9h8h-r922: The loadContentFromCookie function in core/Cookie
ghsa_unreviewed·2022-05-02
CVE-2009-4137 [HIGH] CWE-20 GHSA-56c3-9h8h-r922: The loadContentFromCookie function in core/Cookie
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://dev.piwik.org/trac/changeset/1637http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/http://www.openwall.com/lists/oss-security/2009/12/09/2http://www.openwall.com/lists/oss-security/2009/12/10/1http://www.openwall.com/lists/oss-security/2009/12/14/2http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdfhttp://dev.piwik.org/trac/changeset/1637http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/http://www.openwall.com/lists/oss-security/2009/12/09/2http://www.openwall.com/lists/oss-security/2009/12/10/1http://www.openwall.com/lists/oss-security/2009/12/14/2http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf
2009-12-24
Published