{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2009-4137 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2009-4137 yet. Limit exposure of the affected software until one is available.","what":"CVE-2009-4137 is a high-severity unsafe deserialization vulnerability in n/a, published on 24 Dec 2009. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2009-4137 and fix it if it is affected.\n\nWhat it is: CVE-2009-4137 is a high-severity unsafe deserialization vulnerability in n/a, published on 24 Dec 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2009-4137 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2009-4137/ (Markdown: https://insights.sbomify.com/CVE-2009-4137/index.md)","id":"CVE-2009-4137","markdown":"https://insights.sbomify.com/CVE-2009-4137/index.md","name":"CVE-2009-4137","record":{"aliases":["GHSA-56c3-9h8h-r922"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Piwik analytics","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or upload files via unsafe deserialization of cookie data in Piwik.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"matomo","vendor":"matomo"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2017-11-28","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2017-11-28T19:31:47Z","kind":"github_poc","ref":"https://github.com/Alexeyan/CVE-2009-4137","stars":4,"title":"Exploit for piwik CVE-2009-4140 RCE"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Deserialization in n/a","id":"CVE-2009-4137","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2009"},"n_packages":0,"n_references":8,"next":{"headline":"Null dereference in n/a","id":"CVE-2009-4138"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2009-4136"},"products":["n/a"],"published":"2009-12-24","related":[{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2015-7815","kev_date_added":null,"published":"2015-11-16"},{"cvss_score":7.5,"headline":"Deserialization in n/a","id":"CVE-2015-7816","kev_date_added":null,"published":"2015-11-16"},{"cvss_score":7.5,"headline":"File upload in n/a","id":"CVE-2009-4140","kev_date_added":null,"published":"2009-12-22"},{"cvss_score":6.8,"headline":"Piwik (now Matomo) Vulnerable to Arbitrary Code Execution","id":"CVE-2011-4941","kev_date_added":null,"published":"2012-09-18"},{"cvss_score":6.8,"headline":"Path traversal in n/a","id":"CVE-2010-2786","kev_date_added":null,"published":"2010-08-02"},{"cvss_score":6.4,"headline":"Security feature bypass in n/a","id":"CVE-2011-0398","kev_date_added":null,"published":"2011-01-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code or upload files via unsafe deserialization of cookie data in Piwik.","url":"https://insights.sbomify.com/CVE-2009-4137/"}