CVE-2023-22952 — Sugarcrm
HIGHCVE-2023-22952 is a high-severity (CVSS 8.8) Improper Input Validation vulnerability in sugarcrm sugarcrm. It is in CISA's Known Exploited Vulnerabilities catalog (added 2023-02-02) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.
In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject custom PHP code through the EmailTemplates because of missing input validation.
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2023-02-02. Federal agencies were required to remediate by 2023-02-23.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2023-22952.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2023-22952 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the 50–90% band (highlighted). Counts from FIRST.org, log-scaled.
Description
In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject custom PHP code through the EmailTemplates because of missing input validation.
Affected Products
sugarcrmsugarcrmResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject cust…
In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject cust…
In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject cust…
In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject cust…
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every sugarcrm sugarcrm deployment and check each version against the affected-products list above.
Fix
Apply the sugarcrm sugarcrm security patch or hotfix for CVE-2023-22952 on the affected version, following the vendor advisory for your exact build.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
How to detect CVE-2023-22952
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2023-22952 -u https://target- Template
- SugarCRM Unauthenticated - Remote Code Execution
- Severity
- high
- Impact
- Authenticated attackers can inject custom PHP code through EmailTemplates to execute arbitrary commands on the SugarCRM server, potentially compromising customer relationship data and business intelligence information.
- Remediation
- Update SugarCRM to version 12.0 Hotfix 91155 or later that implements proper input validation for EmailTemplates.
Template by ProjectDiscovery nuclei-templates (iamnoooob, rootxharsh, pdresearch), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2023-22952 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.