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.
Vulnerability category: Input validationExecute code
Products affected by CVE-2009-4137
- cpe:2.3:a:matomo:matomo:0.2.30:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.29:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.28:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.27:*:*:*:*:*:*:*
- 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.31:*:*:*:*:*:*:*
- cpe:2.3:a:matomo:matomo:0.2.32:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2009-4137
6.68%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 94 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2009-4137
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
CWE ids for CVE-2009-4137
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
References for CVE-2009-4137
-
http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/
-
http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/
Vendor Advisory
-
http://www.openwall.com/lists/oss-security/2009/12/09/2
-
http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf
Be Suspicious. Online Security Blog - Suspekt.org
-
http://www.openwall.com/lists/oss-security/2009/12/14/2
-
http://dev.piwik.org/trac/changeset/1637
Vendor Advisory
-
http://www.openwall.com/lists/oss-security/2009/12/10/1
-
http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/
Jump to