CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-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 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.
Publish Date : 2009-12-24 Last Update Date : 2009-12-28
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.5
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 20

- Products Affected By CVE-2009-4137

# Product Type Vendor Product Version Update Edition Language
1 Application Piwik Piwik 0.2.25 Version Details Vulnerabilities
2 Application Piwik Piwik 0.2.26 Version Details Vulnerabilities
3 Application Piwik Piwik 0.2.27 Version Details Vulnerabilities
4 Application Piwik Piwik 0.2.28 Version Details Vulnerabilities
5 Application Piwik Piwik 0.2.29 Version Details Vulnerabilities
6 Application Piwik Piwik 0.2.30 Version Details Vulnerabilities
7 Application Piwik Piwik 0.2.31 Version Details Vulnerabilities
8 Application Piwik Piwik 0.2.32 Version Details Vulnerabilities
9 Application Piwik Piwik 0.2.35 Version Details Vulnerabilities
10 Application Piwik Piwik 0.2.36 Version Details Vulnerabilities
11 Application Piwik Piwik 0.2.37 Version Details Vulnerabilities
12 Application Piwik Piwik 0.4 Version Details Vulnerabilities
13 Application Piwik Piwik 0.4.1 Version Details Vulnerabilities
14 Application Piwik Piwik 0.4.2 Version Details Vulnerabilities
15 Application Piwik Piwik 0.4.3 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Piwik Piwik 15

- References For CVE-2009-4137

http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/ CONFIRM
http://dev.piwik.org/trac/changeset/1637 CONFIRM
http://www.openwall.com/lists/oss-security/2009/12/09/2
MLIST [oss-security] 20091209 Piwik <= 0.4.5 Cookie Unserialize() Vulnerability
http://www.openwall.com/lists/oss-security/2009/12/14/2
MLIST [oss-security] 20091214 Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability
http://www.openwall.com/lists/oss-security/2009/12/10/1
MLIST [oss-security] 20091210 Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability
http://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

- Metasploit Modules Related To CVE-2009-4137

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
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.