Improper input validation in Matomo
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 class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.169 (97.0th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.169 · newest: 0.169 · change: 0.000
Affected products
- Matomo — versions 0.2.25, 0.2.26, 0.2.27
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.openwall.com/lists/oss-security/2009/12/14/2 (mailing-list)
- piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/ (Vendor Advisory)
- www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf
- www.openwall.com/lists/oss-security/2009/12/10/1 (mailing-list)
- www.openwall.com/lists/oss-security/2009/12/09/2 (mailing-list)
- dev.piwik.org/trac/changeset/1637 (Vendor Advisory)
- www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerabili…
- www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulne…
Frequently asked questions
- What is CVE-2009-4137?
- CVE-2009-4137 is a vulnerability in Matomo, classified under Improper Input Validation. Published 2009-12-24.
- Is CVE-2009-4137 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.