{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unimportant\"}"}}}], "affected": [{"vendor": "debian", "product": "matomo", "platforms": ["sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2009-4137"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2009-12-24T16:00:00.000Z", "x_subShortName": "debian"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["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.27:*:*:*:*:*:*:*", "cpe:2.3:a:matomo:matomo:0.2.28:*:*:*:*:*:*:*", "cpe:2.3:a:matomo:matomo:0.2.29:*:*:*:*:*:*:*", "cpe:2.3:a:matomo:matomo:0.2.30:*:*:*:*:*:*:*", "cpe:2.3:a:matomo:matomo:0.2.31:*:*:*:*:*:*:*", "cpe:2.3:a:matomo:matomo:0.2.32:*:*:*:*:*:*:*"], "vendor": "matomo", "product": "matomo", "versions": [{"status": "affected", "version": "0.2.25"}, {"status": "affected", "version": "0.2.26"}, {"status": "affected", "version": "0.2.27"}, {"status": "affected", "version": "0.2.28"}, {"status": "affected", "version": "0.2.29"}, {"status": "affected", "version": "0.2.30"}, {"status": "affected", "version": "0.2.31"}, {"status": "affected", "version": "0.2.32"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://dev.piwik.org/trac/changeset/1637", "tags": ["vendor-advisory"]}, {"url": "http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/", "tags": ["vendor-advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2009/12/09/2"}, {"url": "http://www.openwall.com/lists/oss-security/2009/12/10/1"}, {"url": "http://www.openwall.com/lists/oss-security/2009/12/14/2"}, {"url": "http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/"}, {"url": "http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/"}, {"url": "http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "La función loadContentFromCookie en core/Cookie.php en Piwik before v0.5 no valida cadenas obtenidoas desde cookies antes de llamar a la función unserialize, lo que permite a atacantes remotos ejecuta código o cargar archivos de su elección a través de vectores relacionados con la función the __destruct en la clase Piwik_Config; php://filter URIs; las funciones __destruct en Zend Framework, como quedó demostrado por el destructor Zend_Log; las funciones shutdown en Zend Framework, como quedó demostrado por la clase Zend_Log_Writer_Mail; la función render en la clase Piwik_View; plantillas Smarty ; y la función _eval en Smarty."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-20", "description": "CWE-20"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2009-12-24T16:30:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2009-4137", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2009-12-24T16:30:00Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}