CVE-2009-4137Matomo
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Matomo · Matomo We alert you by email or Slack (account required).
- Priority
- 62
- CVSS 2.0
- 7.5
- EPSS
- 16.9% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Dec 24, 2009
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Matomo.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| matomo | matomo | 0.2.25 |
| matomo | matomo | 0.2.26 |
| matomo | matomo | 0.2.27 |
| matomo | matomo | 0.2.28 |
| matomo | matomo | 0.2.29 |
| matomo | matomo | 0.2.30 |
| matomo | matomo | 0.2.31 |
| matomo | matomo | 0.2.32 |
Official sources
References
Links published by the sources. Open them with care.
- dev.piwik.org Vendor Advisory
- piwik.org Vendor Advisory
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.sektioneins.de
- www.suspekt.org
- www.suspekt.org