FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

CVE-2009-4137

This CVE name corresponds to:

Entered Topic
2009-12-11 piwik -- php code execution

The following information is adapted from the Common Vulnerabilities and Exposures (CVE) project. CVE and the CVE logo are trademarks of The MITRE Corporation. CVE content is Copyright 2005, The MITRE Corporation.

Details

Type Candidate
Name CVE-2009-4137
Phase Assigned(20091201)

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.

References

Source Reference
MLIST [oss-security] 20091209 Piwik <= 0.4.5 Cookie Unserialize() Vulnerability
MLIST [oss-security] 20091210 Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability
MLIST [oss-security] 20091214 Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability
MISC http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/
MISC http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/
MISC http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf
CONFIRM http://dev.piwik.org/trac/changeset/1637
CONFIRM http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/