All vulnerabilities

Servers and applications

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…

Severity
High 7.5
Published
24 Dec 2009
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
17% in the next 30 daysHigher than 97% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Improper input validation (CWE-20)
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
MatomoServers and applications · cpe:a:matomo:matomo
  • Version 0.2.32
  • Version 0.2.31
  • Version 0.2.30
  • Version 0.2.29
All 8 release lines
  • Version 0.2.25
  • Version 0.2.26
  • Version 0.2.27
  • Version 0.2.28
  • Version 0.2.29
  • Version 0.2.30
  • Version 0.2.31
  • Version 0.2.32

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2009-4137
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2009-4137