{"id":"CVE-2025-25034","published":"2025-06-20T18:34:13Z","modified":"2026-10-29T21:15:12Z","title":"SugarCRM PHP Deserialization RCE","vendor":"SugarCRM","product":"SugarCRM","tier":"core","eol":null,"affectedVersions":[{"vendor":"SugarCRM","product":"SugarCRM","versions":[">= 6.5.0, < 6.5.24",">= 6.7.0, < 6.7.13",">= 7.5.0, < 7.5.2.5",">= 7.6.0, < 7.6.2.2",">= 7.7.0, < 7.7.1.0"]}],"description":{"text":"A PHP object injection vulnerability exists in SugarCRM versions prior to 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, and 7.7.1.0 due to improper validation of PHP serialized input in the SugarRestSerialize.php script. The vulnerable code fails to sanitize the rest_data parameter before passing it to the unserialize() function. This allows an unauthenticated attacker to submit crafted serialized data containing malicious object declarations, resulting in arbitrary code execution within the application context. Although SugarCRM released a prior fix in advisory sugarcrm-sa-2016-001, the patch was incomplete and failed to address some vectors. Exploitation evidence was observed by the Shadowserver Foundation on 2024-09-13 UTC.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04963,"percentile":0.92178,"date":"2026-10-30","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-06-20","exploitedFirstSeen":"2025-06-20","ransomware":false,"evidence":[{"url":"https://vulncheck.com/advisories/sugarcrm-php-deserialization-rce","date":"2025-06-20"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-25034","date":"2025-06-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-10-26&host_type=src&vulnerability=cve-2025-25034","date":"2025-10-26"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-10-28&host_type=src&vulnerability=cve-2025-25034","date":"2025-10-28"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-10-30&host_type=src&vulnerability=cve-2025-25034","date":"2025-10-30"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-10-31&host_type=src&vulnerability=cve-2025-25034","date":"2025-10-31"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-11-02&host_type=src&vulnerability=cve-2025-25034","date":"2025-11-02"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-11-03&host_type=src&vulnerability=cve-2025-25034","date":"2025-11-03"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-11-07&host_type=src&vulnerability=cve-2025-25034","date":"2025-11-07"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-11-10&host_type=src&vulnerability=cve-2025-25034","date":"2025-11-10"}],"evidenceTotal":190,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://web.archive.org/web/20160725194502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-008","tags":["vendor-advisory"]},{"url":"https://web.archive.org/web/20160508053502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-001","tags":["vendor-advisory"]},{"url":"https://karmainsecurity.com/KIS-2016-07","tags":["technical-description","third-party-advisory"]},{"url":"https://www.exploit-db.com/exploits/40344","tags":["exploit"]},{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb","tags":["exploit"]},{"url":"https://www.sugarcrm.com/crm/","tags":["product"]},{"url":"https://vulncheck.com/advisories/sugarcrm-php-deserialization-rce","tags":["third-party-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2025-18782","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-18782","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"SugarCRM REST Unserialize PHP Code Execution","module":"exploit/unix/webapp/sugarcrm_rest_unserialize_exec","type":"exploit","disclosureDate":"2016-06-23","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb"}],"nuclei":[{"id":"CVE-2025-25034","name":"SugarCRM - Unauthenticated Remote Code Execution via PHP Object Injection","severity":"critical","path":"http/cves/2025/CVE-2025-25034.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-25034.yaml"}],"first":{"date":"2016-06-23","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/40344","https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb"],"flow":[],"timeline":[{"date":"2016-06-23","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb","provenance":"source"},{"date":"2025-06-20","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-25034","provenance":"source"},{"date":"2025-06-20","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://vulncheck.com/advisories/sugarcrm-php-deserialization-rce","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":64.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 498 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.44,"detail":"percentile 0.9218"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 NVD references tagged Exploit; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.51,"detail":"base score 9.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}