{"id":"CVE-2025-25034","state":"PUBLISHED","title":"SugarCRM PHP Deserialization RCE","description":"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.","publishedAt":"2025-06-20T18:34:13.197Z","updatedAt":"2026-10-29T21:15:12.046Z","severity":{"score":9.3,"label":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["SugarCRM SugarCRM"],"affected":[{"vendor":"SugarCRM","product":"SugarCRM","defaultStatus":"unaffected","versions":[{"version":"6.5.0","status":"affected","lessThan":"6.5.24","versionType":"semver"},{"version":"6.7.0","status":"affected","lessThan":"6.7.13","versionType":"semver"},{"version":"7.5.0","status":"affected","lessThan":"7.5.2.5","versionType":"custom"},{"version":"7.6.0","status":"affected","lessThan":"7.6.2.2","versionType":"custom"},{"version":"7.7.0","status":"affected","lessThan":"7.7.1.0","versionType":"custom"}],"modules":["REST API endpoint /service/core/REST/SugarRestSerialize.php"]}],"references":["https://web.archive.org/web/20160725194502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-008","https://web.archive.org/web/20160508053502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-001","https://karmainsecurity.com/KIS-2016-07","https://www.exploit-db.com/exploits/40344","https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb","https://www.sugarcrm.com/crm/","https://vulncheck.com/advisories/sugarcrm-php-deserialization-rce"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T23:08:31.977Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/25xxx/CVE-2025-25034.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-25034","state":"PUBLISHED","datePublished":"2025-06-20T18:34:13.197Z","dateUpdated":"2026-10-29T21:15:12.046Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2025-01-31T18:32:36.213Z"},"containers":{"cna":{"title":"SugarCRM PHP Deserialization RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"SugarCRM","product":"SugarCRM","defaultStatus":"unaffected","versions":[{"version":"6.5.0","status":"affected","lessThan":"6.5.24","versionType":"semver"},{"version":"6.7.0","status":"affected","lessThan":"6.7.13","versionType":"semver"},{"version":"7.5.0","status":"affected","lessThan":"7.5.2.5","versionType":"custom"},{"version":"7.6.0","status":"affected","lessThan":"7.6.2.2","versionType":"custom"},{"version":"7.7.0","status":"affected","lessThan":"7.7.1.0","versionType":"custom"}],"modules":["REST API endpoint /service/core/REST/SugarRestSerialize.php"]}],"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"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.3,"baseSeverity":"CRITICAL","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-29T21:15:12.046Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:sugarcrm:sugarcrm:*:*:*:*:enterprise:*:*:*","versionEndExcluding":"6.5.24","versionStartIncluding":"6.5.0","vulnerable":true},{"criteria":"cpe:2.3:a:sugarcrm:sugarcrm:*:*:*:*:enterprise:*:*:*","versionEndExcluding":"6.7.13","versionStartIncluding":"6.7.0","vulnerable":true},{"criteria":"cpe:2.3:a:sugarcrm:sugarcrm:*:*:*:*:enterprise:*:*:*","versionEndExcluding":"7.5.2.5","versionStartIncluding":"7.5.0","vulnerable":true},{"criteria":"cpe:2.3:a:sugarcrm:sugarcrm:*:*:*:*:enterprise:*:*:*","versionEndExcluding":"7.6.2.2","versionStartIncluding":"7.6.0","vulnerable":true},{"criteria":"cpe:2.3:a:sugarcrm:sugarcrm:*:*:*:*:enterprise:*:*:*","versionEndExcluding":"7.7.1.0","versionStartIncluding":"7.7.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"Egidio Romano"}],"exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Known exploited vulnerability"}],"value":"Known exploited vulnerability"}],"impacts":[{"capecId":"CAPEC-586","descriptions":[{"lang":"en","value":"CAPEC-586 Object Injection"}]}],"source":{"discovery":"UNKNOWN"},"tags":["x_known-exploited-vulnerability"],"x_generator":{"engine":"vulncheck"},"datePublic":"2016-09-07T00:00:00.000Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-23T15:29:51.587593Z","id":"CVE-2025-25034","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-23T15:30:07.665Z"}}]}}}