{"answers":{"affected":"2 open source packages ship an affected version, including contao/managed-edition. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-26265 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-26265 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-26265 is a critical command injection vulnerability in n/a, published on 18 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-26265 and fix it if it is affected.\n\nWhat it is: CVE-2022-26265 is a critical command injection vulnerability in n/a, published on 18 Mar 2022. 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-2022-26265 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- contao/managed-edition (Packagist): affected all versions up to 1.5.0; no fix listed\n- contao/managed-edition (Packagist): affected all versions up to 1.5.0; no fix listed\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-2022-26265/ (Markdown: https://insights.sbomify.com/CVE-2022-26265/index.md)","id":"CVE-2022-26265","markdown":"https://insights.sbomify.com/CVE-2022-26265/index.md","name":"CVE-2022-26265","record":{"aliases":["GHSA-rggc-4g3r-j7ff"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Contao CMS","requires_auth":"none","summary":"Remote attackers can execute arbitrary commands on Contao Managed Edition installations via the php_cli parameter.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"contao","vendor":"contao"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Contao Managed Edition v1.5.0 was discovered to contain a remote command execution (RCE) vulnerability via the component php_cli parameter.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2022-12-01","github_poc":2,"max_poc_stars":10,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-12-01T23:11:19Z","kind":"github_poc","ref":"https://github.com/sh4den/CVE-2022-26265","stars":10,"title":"The first proof of concept of the Contao CMS RCE"},{"date":"2023-04-05T09:34:29Z","kind":"github_poc","ref":"https://github.com/redteamsecurity2023/CVE-2022-26265","stars":0,"title":"The first proof of concept of the Contao CMS RCE"}],"tier":"poc_unverified"},"has_fix":false,"headline":"Remote Code Execution in Contao Managed Edition","id":"CVE-2022-26265","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":2,"n_references":1,"next":{"headline":"SQL injection in n/a","id":"CVE-2022-26266"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.5.0"],"package":"contao/managed-edition","purl":null,"source":"GHSA-rggc-4g3r-j7ff"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.5.0"],"package":"contao/managed-edition","purl":"pkg:composer/contao/managed-edition","source":"GHSA-rggc-4g3r-j7ff"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-26263"},"products":["n/a"],"published":"2022-03-18","related":[{"cvss_score":9.8,"headline":"Contao SQL injection in the file manager","id":"CVE-2019-11512","kev_date_added":null,"published":"2019-07-09"},{"cvss_score":8.8,"headline":"Contao core SQL Injection Vulnerability","id":"CVE-2012-4383","kev_date_added":null,"published":"2020-01-29"},{"cvss_score":8.8,"headline":"Unrestricted file uploads in Contao","id":"CVE-2019-19745","kev_date_added":null,"published":"2019-12-17"},{"cvss_score":8.4,"headline":"Contao possible cookie sharing with external domains while checking protected pages for broken links","id":"CVE-2024-28235","kev_date_added":null,"published":"2024-04-09"},{"cvss_score":8.3,"headline":"Remote command execution through file upload in contao/core-bundle","id":"CVE-2024-45398","kev_date_added":null,"published":"2024-09-17"},{"cvss_score":8,"headline":"Privilege escalation via form generator","id":"CVE-2021-37627","kev_date_added":null,"published":"2021-08-11"}],"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":"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-08-03","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary commands on Contao Managed Edition installations via the php_cli parameter.","url":"https://insights.sbomify.com/CVE-2022-26265/"}