{"answers":{"affected":"4 open source packages ship an affected version, including matomo/matomo and piwik/piwik. It affects 1 product.","exploited":"There is no known exploitation of CVE-2011-4941 in the wild and no public exploit code.","fix":"Upgrade matomo/matomo to 1.5 or later.","what":"CVE-2011-4941 is a medium-severity code injection vulnerability in n/a, published on 18 Sep 2012. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2011-4941 and fix it if it is affected.\n\nWhat it is: CVE-2011-4941 is a medium-severity code injection vulnerability in n/a, published on 18 Sep 2012. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2011-4941 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- matomo/matomo (Packagist): affected from 1.2; fixed in 1.5\n- matomo/matomo (Packagist): affected from 1.2; fixed in 1.5\n- piwik/piwik (Packagist): affected from 1.2; fixed in 1.5\n- piwik/piwik (Packagist): affected from 1.2; fixed in 1.5\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-2011-4941/ (Markdown: https://insights.sbomify.com/CVE-2011-4941/index.md)","id":"CVE-2011-4941","markdown":"https://insights.sbomify.com/CVE-2011-4941/index.md","name":"CVE-2011-4941","record":{"aliases":["GHSA-2qr8-h6pq-m27v"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Piwik analytics","requires_auth":"low_privilege","summary":"Remote attackers with view permissions can execute arbitrary code in Piwik analytics software.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"matomo","vendor":"matomo"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Unspecified vulnerability in Piwik 1.2 through 1.4 allows remote attackers with the view permission to execute arbitrary code via unknown attack vectors.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Piwik (now Matomo) Vulnerable to Arbitrary Code Execution","id":"CVE-2011-4941","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2011"},"n_packages":4,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2011-4942"},"packages":[{"ecosystem":"Packagist","fixed":["1.5"],"introduced":["1.2"],"last_affected":[],"package":"matomo/matomo","purl":null,"source":"GHSA-2qr8-h6pq-m27v"},{"ecosystem":"Packagist","fixed":["1.5"],"introduced":["1.2"],"last_affected":[],"package":"matomo/matomo","purl":"pkg:composer/matomo/matomo","source":"GHSA-2qr8-h6pq-m27v"},{"ecosystem":"Packagist","fixed":["1.5"],"introduced":["1.2"],"last_affected":[],"package":"piwik/piwik","purl":null,"source":"GHSA-2qr8-h6pq-m27v"},{"ecosystem":"Packagist","fixed":["1.5"],"introduced":["1.2"],"last_affected":[],"package":"piwik/piwik","purl":"pkg:composer/piwik/piwik","source":"GHSA-2qr8-h6pq-m27v"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2011-4940"},"products":["n/a"],"published":"2012-09-18","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":"Deserialization in n/a","id":"CVE-2009-4137","kev_date_added":null,"published":"2009-12-24"},{"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":"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":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Remote attackers with view permissions can execute arbitrary code in Piwik analytics software.","url":"https://insights.sbomify.com/CVE-2011-4941/"}