The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-22952

CVE-2023-22952: SugarCRM RCE Vulnerability

CVE-2023-22952 is a remote code execution vulnerability in SugarCRM that allows attackers to inject custom PHP code through EmailTemplates due to missing input validation. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-22952 Overview

CVE-2023-22952 is a code injection vulnerability affecting SugarCRM versions prior to 12.0 Hotfix 91155. The flaw exists within the EmailTemplates functionality, where insufficient input validation allows attackers to inject and execute arbitrary PHP code on vulnerable servers. This vulnerability has been actively exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

Critical Impact

Authenticated attackers can achieve remote code execution through crafted requests to the EmailTemplates module, potentially leading to complete system compromise, data exfiltration, and lateral movement within affected networks.

Affected Products

  • SugarCRM versions prior to 12.0 Hotfix 91155
  • SugarCRM versions prior to 11.0.5
  • SugarCRM Enterprise, Professional, and Sell editions

Discovery Timeline

  • 2023-01-11 - CVE-2023-22952 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2023-22952

Vulnerability Analysis

This vulnerability stems from improper input validation in SugarCRM's EmailTemplates functionality. The application fails to adequately sanitize user-supplied input before incorporating it into PHP code execution paths. An authenticated attacker with low privileges can craft malicious requests that inject arbitrary PHP code, which is then executed server-side with the privileges of the web server process.

The weakness is classified under CWE-20 (Improper Input Validation) and CWE-94 (Improper Control of Generation of Code, or 'Code Injection'). The attack can be executed remotely over the network without requiring user interaction, making it particularly dangerous in internet-facing deployments.

Root Cause

The root cause of CVE-2023-22952 is missing input validation within the EmailTemplates module. When processing template-related requests, SugarCRM does not properly sanitize or filter input parameters that can influence PHP code generation or execution. This oversight allows malicious PHP code to be injected through specially crafted request parameters, bypassing intended security controls.

Attack Vector

The attack is network-based and requires low-privilege authentication to the SugarCRM application. Once authenticated, an attacker sends a crafted HTTP request to the EmailTemplates endpoint containing malicious PHP code embedded within template parameters. The vulnerable application processes this input without adequate validation, resulting in the injected code being executed on the server.

Successful exploitation can lead to web shell deployment, enabling persistent access to the compromised system. The Packet Storm Security advisory documents exploitation techniques including shell upload capabilities. Given the CISA KEV listing, this vulnerability is confirmed to be actively exploited in real-world attacks.

Detection Methods for CVE-2023-22952

Indicators of Compromise

  • Unexpected PHP files or web shells in the SugarCRM installation directory, particularly in upload or cache folders
  • Anomalous HTTP POST requests to EmailTemplates-related endpoints containing PHP code patterns such as <?php, eval(, base64_decode(, or system(
  • Web server error logs showing PHP syntax errors or unexpected code execution attempts
  • Unauthorized outbound network connections from the web server process

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing PHP code injection patterns targeting SugarCRM endpoints
  • Monitor web server access logs for unusual activity patterns on /index.php routes related to EmailTemplates module
  • Deploy file integrity monitoring (FIM) on SugarCRM directories to detect unauthorized file modifications or new file creation
  • Configure intrusion detection systems (IDS) to alert on POST requests with suspicious payloads to SugarCRM installations

Monitoring Recommendations

  • Enable detailed logging for all SugarCRM application requests and regularly review for anomalies
  • Implement real-time alerting for any new file creation in web-accessible directories
  • Monitor for unusual PHP process behavior including unexpected child processes or network connections
  • Track authentication events and correlate with subsequent high-risk API calls

How to Mitigate CVE-2023-22952

Immediate Actions Required

  • Apply SugarCRM Hotfix 91155 or upgrade to version 12.0 or later immediately
  • Conduct a forensic review of affected systems to identify potential compromise indicators
  • Restrict network access to SugarCRM installations to trusted IP ranges where possible
  • Review user accounts and privileges, removing unnecessary access

Patch Information

SugarCRM has released Hotfix 91155 to address this vulnerability. Administrators should apply this hotfix or upgrade to SugarCRM version 12.0 or later. Detailed patch information and installation instructions are available in the SugarCRM Security Advisory SA-2023-001. Given active exploitation, patching should be treated as an emergency priority.

Workarounds

  • If immediate patching is not possible, consider temporarily disabling the EmailTemplates module until the fix can be applied
  • Implement strict WAF rules to block requests containing PHP code patterns in POST parameters
  • Restrict access to the SugarCRM administrative interface to internal networks or VPN-connected users only
  • Deploy additional input validation at the reverse proxy or load balancer level as a defense-in-depth measure
bash
# Example: Apache mod_security rule to detect PHP injection attempts
SecRule REQUEST_BODY "@rx <\?php|eval\s*\(|base64_decode\s*\(" \
    "id:100001,phase:2,deny,status:403,log,msg:'Potential PHP injection attempt blocked'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSugarcrm

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability93.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-20

  • CWE-94
  • Technical References
  • Packet Storm Exploit Description

  • CISA Known Exploits Catalog
  • Vendor Resources
  • SugarCRM Security Advisory
  • Related CVEs
  • CVE-2025-25034: SugarCRM PHP Object Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English