{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2023-22952 in the wild since at least 2 Feb 2023.","fix":"No fix has been published for CVE-2023-22952 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 23 Feb 2023.","what":"CVE-2023-22952 is a high-severity code injection vulnerability in Sugarcrm Sugarcrm, published on 11 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-22952 and fix it if it is affected.\n\nWhat it is: CVE-2023-22952 is a high-severity code injection vulnerability in Sugarcrm Sugarcrm, published on 11 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2023-22952 in the wild since at least 2 Feb 2023.\n\nAffected product: Sugarcrm Sugarcrm. 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-2023-22952/ (Markdown: https://insights.sbomify.com/CVE-2023-22952/index.md)","id":"CVE-2023-22952","markdown":"https://insights.sbomify.com/CVE-2023-22952/index.md","name":"CVE-2023-22952","record":{"aliases":["GHSA-g9w6-c3gx-pmr3"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"SugarCRM","requires_auth":"low_privilege","summary":"Attackers can inject custom PHP code via crafted requests in SugarCRM EmailTemplates due to missing input validation, leading to remote code execution.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sugarcrm","vendor":"sugarcrm"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject custom PHP code through the EmailTemplates because of missing input validation.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-12-28","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":1,"refs":[{"date":"2022-12-28","kind":"metasploit","ref":"exploit/multi/http/sugarcrm_webshell_cve_2023_22952","stars":null,"title":"SugarCRM unauthenticated Remote Code Execution (RCE)"},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-22952.yaml","stars":null,"title":"SugarCRM Unauthenticated - Remote Code Execution"}],"tier":"exploited"},"has_fix":null,"headline":"Multiple SugarCRM Products Remote Code Execution","id":"CVE-2023-22952","indexable":true,"kev":{"dateAdded":"2023-02-02","dueDate":"2023-02-23","knownRansomwareCampaignUse":"Unknown","product":"Multiple Products","requiredAction":"Apply updates per vendor instructions.","vendorProject":"SugarCRM","vulnerabilityName":"Multiple SugarCRM Products Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"sugarcrm:sugarcrm","products":["sugarcrm:sugarcrm"],"type":"code_injection","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Code injection in n/a","id":"CVE-2023-22953"},"packages":[],"prev":{"headline":"Hardcoded credentials in n/a","id":"CVE-2023-22951"},"products":["n/a"],"published":"2023-01-11","related":[{"cvss_score":10,"headline":"SQL injection in n/a","id":"CVE-2004-1225","kev_date_added":null,"published":"2004-12-15"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2020-7472","kev_date_added":null,"published":"2020-11-12"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2012-0694","kev_date_added":null,"published":"2019-10-29"},{"cvss_score":9.8,"headline":"XML external entity in n/a","id":"CVE-2014-3244","kev_date_added":null,"published":"2018-02-01"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2018-6308","kev_date_added":null,"published":"2018-01-25"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2023-46815","kev_date_added":null,"published":"2023-10-27"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Attackers can inject custom PHP code via crafted requests in SugarCRM EmailTemplates due to missing input validation, leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2023-22952/"}