Multiple SugarCRM Products Remote Code Execution Vulnerability
SugarCRM · Multiple Products
A missing input validation flaw in the EmailTemplates component of multiple SugarCRM products, affecting versions before 12.0 Hotfix 91155, lets crafted requests inject custom PHP code. An attacker who can reach the application over the network and holds a low-privileged account can trigger the injection without any user interaction.
In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject custom PHP code through the EmailTemplates because of missing input validation.
- Exploited
- Yes, in CISA KEV
- Reports
- 0
- Tactics
- 8/15
How an attack unfolds
Based on MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. mappings. Select a step to see the evidence.How attackers get in
What they do
What can follow
- Log in with real accountsT1078 · Valid Accounts
- Plant a web shell for remote controlT1505.003 · Web Shell
- Delete files to cover tracksT1070.004 · File Deletion
- Browse files and foldersT1083 · File and Directory Discovery
- Domain Trust DiscoveryT1482 · Domain Trust Discovery
- Move to other systems over Remote DesktopT1021.001 · Remote Desktop Protocol
- Data from Cloud StorageT1530 · Data from Cloud Storage
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 7 days before it was disclosed. Public exploit code (Metasploit) was available 14 days before disclosure.
- Public exploit codeMetasploit14 days before
- First seen exploitedVulnCheck KEV evidence7 days before
- Disclosedday 0
- Added to CISA KEVEU database agrees+22 days
CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
9 TechniqueOne specific attacker behaviour in MITRE ATT&CK, such as T1190 “Exploit Public-Facing Application”. IDs with a dot, like T1059.004, are sub-techniques., grouped by TacticThe attacker’s goal at a stage of an attack in MITRE ATT&CK, such as Initial Access or Persistence. Each technique belongs to one or more tactics. in kill-chain order 9Initial AccessTA0001
This Remote Code Execution (RCE) vulnerability is exploited by an unauthenticated attacker via a crafted request can inject custom PHP code through the EmailTemplates because of missing input validation. This vulnerability has been exploited by threat actors to gain initial access to AWS accounts by injecting custom PHP code through the SugarCRM email templates module. Attackers leveraged misconfigurations to expand their access, obtaining long-term AWS access keys from compromised EC2 instances. They used tools like Pacu and Scout Suite to explore AWS services such as EC2, IAM, RDS, and S3, and gathered account information via AWS Organizations and Cost and Usage services. The attackers moved laterally by creating RDS snapshots and new EC2 instances, modifying security groups, and attempting to escalate privileges by logging in as the Root user. They also employed defense evasion techniques, including deploying resources in non-standard regions and intermittently stopping EC2 instances to avoid detection and minimize costs. The exploit in question is actively being used to compromise hosts by installing a PHP-based web shell. It involves an authentication bypass against the "/index.php" endpoint of the targeted service. Once bypassed, the attacker obtains a cookie and sends a secondary POST request to "/cache/images/sweet.phar" to upload a small PNG-encoded file containing PHP code. This file acts as a web shell, allowing the execution of commands specified in the base64-encoded query argument "c". For example, a request like 'POST /cache/images/sweet.phar?c="L2Jpbi9pZA=="' would execute the command "/bin/id" with the same permissions as the web service's user.
ExecutionTA0002
PersistenceTA0003
Stealth
DiscoveryTA0007
Lateral MovementTA0008
CollectionTA0009
Detection
0 rules for this CVE · 407 general rules for its techniquesRules for this CVE
0Sigma ruleAn open, vendor-neutral detection rule for log data. Security teams convert Sigma rules into searches for their own SIEM. that reference CVE-2023-22952 directly.CVE-specific rules are not available in this build. Search SigmaHQ ↗
General rules for this CVE’s techniques
These detect the technique in general, not this specific vulnerability.
Exploit Public-Facing ApplicationT1190149 general rules
- Arcadyan Router Exploitationscriticaltest
- Citrix ADS Exploitation CVE-2020-8193 CVE-2020-8195criticaltest
- Citrix Netscaler Attack CVE-2019-19781criticaltest
- Confluence Exploitation CVE-2019-3398criticaltest
- CVE-2010-5278 Exploitation Attemptcriticaltest
- CVE-2020-0688 Exchange Exploitation via Web Logcriticaltest
- CVE-2020-10148 SolarWinds Orion API Auth Bypasscriticaltest
- CVE-2020-5902 F5 BIG-IP Exploitation Attemptcriticaltest
Command and Scripting InterpreterT105995 general rules
- HackTool - Sliver C2 Implant Activity Patterncriticaltest
- Lazarus Group Activitycriticaltest
- REvil Kaseya Incident Malware Patternscriticaltest
- Turla Group Lateral Movementcriticaltest
- Windows Defender AMSI Trigger Detectedhighstable
- Windows Defender Threat Detectedhighstable
- Abusable DLL Potential Sideloading From Suspicious Locationhightest
- Add Insecure Download Source To Wingethightest
Valid AccountsT107856 general rules
- Win Susp Computer Name Containing Samtheadmincriticaltest
- Account Created And Deleted Within A Close Time Framehightest
- Activity From Anonymous IP Addresshightest
- Atypical Travelhightest
- Azure AD Threat Intelligencehightest
- Azure Subscription Permission Elevation Via AuditLogshightest
- External Remote SMB Logon from Public IPhightest
- Impossible Travelhightest
Web ShellT1505.00335 general rules
- Certificate Request Export to Exchange Webservercriticaltest
- CVE-2021-40539 Zoho ManageEngine ADSelfService Plus Exploitcriticaltest
- Mailbox Export to Exchange Webservercriticaltest
- Oracle WebLogic Exploitcriticaltest
- Solarwinds SUPERNOVA Webshell Accesscriticaltest
- Webshell Remote Command Executioncriticaltest
- WordPress Wp2shell Webshell Plugin Accesscriticalexperimental
- Antivirus - Web Shell Detection Signaturehightest
File DeletionT1070.00415 general rules
- Prefetch File Deletedhightest
- Suspicious Ping/Del Command Combinationhightest
- ADS Zone.Identifier Deleted By Uncommon Applicationmediumtest
- Backup Catalog Deletedmediumtest
- Cisco File Deletionmediumtest
- File Deleted Via Sysinternals SDeletemediumtest
- Greedy File Deletion Using Delmediumtest
- Potential Secure Deletion with SDeletemediumtest
File and Directory DiscoveryT108324 general rules
- Turla Group Lateral Movementcriticaltest
- WannaCry Ransomware Activitycriticaltest
- HackTool - PCHunter Executionhightest
- PUA - Seatbelt Executionhightest
- Shell Execution GCC - Linuxhightest
- Shell Execution via Find - Linuxhightest
- Shell Execution via Flock - Linuxhightest
- Shell Execution via Nice - Linuxhightest
Domain Trust DiscoveryT148217 general rules
- BloodHound Collection Fileshightest
- HackTool - Bloodhound/Sharphound Executionhightest
- HackTool - SharpView Executionhightest
- HackTool - TruffleSnout Executionhightest
- Malicious PowerShell Commandlets - PoshModulehightest
- Malicious PowerShell Commandlets - ProcessCreationhightest
- Malicious PowerShell Commandlets - ScriptBlockhightest
- PUA - AdFind Suspicious Executionhightest
Remote Desktop ProtocolT1021.00116 general rules
- Hermetic Wiper TG Process Patternshightest
- Outbound RDP Connections Over Non-Standard Toolshightest
- Potential Tampering With RDP Related Registry Keys Via Reg.EXEhightest
- Publicly Accessible RDP Servicehightest
- RDP Login from Localhosthightest
- RDP Over Reverse SSH Tunnelhightest
- RDP over Reverse SSH Tunnel WFPhightest
- RDP to HTTP or HTTPS Target Portshightest
Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.
What security researchers reported
Not named in any threat report yetAlso mentioned in 50 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Actively_Exploited_Kev | Oct 29, 202628 Oct 2026
- Actively_Exploited_Kev | Oct 28, 202627 Oct 2026
- Actively_Exploited_Kev | Oct 27, 202626 Oct 2026
- Actively_Exploited_Kev | Oct 24, 202623 Oct 2026
- Actively_Exploited_Kev | Oct 23, 202622 Oct 2026
- Actively_Exploited_Kev | Oct 22, 202621 Oct 2026
- 44 more on OTX