fkie_cve-2009-4137
Vulnerability from fkie_nvd
Published
2009-12-24 16:30
Modified
2025-04-09 00:30
Severity ?
Summary
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.
References
Impacted products
{ "configurations": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:matomo:matomo:0.2.25:*:*:*:*:*:*:*", "matchCriteriaId": "262A0DB0-6CE4-41E7-BDC6-18924C76EDCB", "vulnerable": true }, { "criteria": "cpe:2.3:a:matomo:matomo:0.2.26:*:*:*:*:*:*:*", "matchCriteriaId": "D3F37F31-2288-4B86-9EEB-38EE8B1979C2", "vulnerable": true }, { "criteria": "cpe:2.3:a:matomo:matomo:0.2.27:*:*:*:*:*:*:*", "matchCriteriaId": "74DBC09F-4B09-490B-8367-93B3257F9DBF", "vulnerable": true }, { "criteria": "cpe:2.3:a:matomo:matomo:0.2.28:*:*:*:*:*:*:*", "matchCriteriaId": "0384553E-FEEB-4AE4-B1F1-1EC99BE07BD9", "vulnerable": true }, { "criteria": "cpe:2.3:a:matomo:matomo:0.2.29:*:*:*:*:*:*:*", "matchCriteriaId": "E64C21FE-BCA5-4830-AA85-5959CBE3800D", "vulnerable": true }, { "criteria": "cpe:2.3:a:matomo:matomo:0.2.30:*:*:*:*:*:*:*", "matchCriteriaId": "BF976D83-866E-416D-A21C-2BF2A8F95462", "vulnerable": true }, { "criteria": "cpe:2.3:a:matomo:matomo:0.2.31:*:*:*:*:*:*:*", "matchCriteriaId": "1E9EB7C0-C645-4E1A-A7CD-87325BBA81E5", "vulnerable": true }, { "criteria": "cpe:2.3:a:matomo:matomo:0.2.32:*:*:*:*:*:*:*", "matchCriteriaId": "998651DF-2552-4A8E-9EA9-AEEED3D39BCB", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "cveTags": [], "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\u00f3n loadContentFromCookie en core/Cookie.php en Piwik before v0.5 no valida cadenas obtenidoas desde cookies antes de llamar a la funci\u00f3n unserialize, lo que permite a atacantes remotos ejecuta c\u00f3digo o cargar archivos de su elecci\u00f3n a trav\u00e9s de vectores relacionados con la funci\u00f3n the __destruct en la clase Piwik_Config; php://filter URIs; las funciones __destruct en Zend Framework, como qued\u00f3 demostrado por el destructor Zend_Log; las funciones shutdown en Zend Framework, como qued\u00f3 demostrado por la clase Zend_Log_Writer_Mail; la funci\u00f3n render en la clase Piwik_View; plantillas Smarty ; y la funci\u00f3n _eval en Smarty." } ], "id": "CVE-2009-4137", "lastModified": "2025-04-09T00:30:58.490", "metrics": { "cvssMetricV2": [ { "acInsufInfo": false, "baseSeverity": "HIGH", "cvssData": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 7.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "source": "nvd@nist.gov", "type": "Primary", "userInteractionRequired": false } ] }, "published": "2009-12-24T16:30:00.250", "references": [ { "source": "secalert@redhat.com", "tags": [ "Vendor Advisory" ], "url": "http://dev.piwik.org/trac/changeset/1637" }, { "source": "secalert@redhat.com", "tags": [ "Vendor Advisory" ], "url": "http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/" }, { "source": "secalert@redhat.com", "url": "http://www.openwall.com/lists/oss-security/2009/12/09/2" }, { "source": "secalert@redhat.com", "url": "http://www.openwall.com/lists/oss-security/2009/12/10/1" }, { "source": "secalert@redhat.com", "url": "http://www.openwall.com/lists/oss-security/2009/12/14/2" }, { "source": "secalert@redhat.com", "url": "http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/" }, { "source": "secalert@redhat.com", "url": "http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/" }, { "source": "secalert@redhat.com", "url": "http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Vendor Advisory" ], "url": "http://dev.piwik.org/trac/changeset/1637" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Vendor Advisory" ], "url": "http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "http://www.openwall.com/lists/oss-security/2009/12/09/2" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "http://www.openwall.com/lists/oss-security/2009/12/10/1" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "http://www.openwall.com/lists/oss-security/2009/12/14/2" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf" } ], "sourceIdentifier": "secalert@redhat.com", "vulnStatus": "Deferred", "weaknesses": [ { "description": [ { "lang": "en", "value": "CWE-20" } ], "source": "nvd@nist.gov", "type": "Primary" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…