Skip to main content

PHP CVE-2025-25034

| EUVDEUVD-2025-18782 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2025-06-20 disclosure@vulncheck.com
9.3
CVSS 4.0 · Vendor: vulncheck
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 9.3, EPSS 73.5%, PoC available. SugarCRM is a major enterprise CRM platform managing customer relationships, sales pipelines, and business intelligence. The CRM database contains the organization's most valuable customer data. Unauthenticated exploitation makes this highly dangerous for internet-facing instances.

Exploit ScenarioDerived

An attacker sends a POST request to the SugarCRM REST API with a crafted rest_data parameter containing a serialized PHP object chain. Deserialization triggers __destruct methods that write a webshell to the web root. The attacker accesses the webshell, dumps the CRM database containing customer contacts, deal values, sales forecasts, and internal communications.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 73.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 15, 2026

SugarCRM versions prior to 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, and 7.7.1.0 contain a PHP object injection vulnerability via the SugarRestSerialize.php script. The rest_data parameter is passed to unserialize() without validation, allowing unauthenticated attackers to inject malicious PHP objects for remote code execution.

Earlier versions of this analysis (1)
v1 Mar 15, 2026 - 00:19 CVSS 9.3

Unauthenticated PHP object injection in SugarCRM via unsafe unserialize() in REST API enables remote code execution.

RemediationAI

Update SugarCRM to a patched version. Restrict access to the REST API endpoint. Deploy a WAF with PHP serialization detection rules. Monitor the web root for unauthorized file creation.

Affected VersionsENISA

SugarCRM 6.5.0 <6.5.23
SugarCRM 7.5.0 <7.5.2.4
SugarCRM 6.7.0 <6.7.12
SugarCRM 7.6.0 <7.6.2.1

Affected Packages

euvd sugarcrm fix: 6.5.23, 6.7.12, 7.5.2.4, 7.6.2.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The SugarRestSerialize.php script deserializes the rest_data POST parameter using PHP's unserialize() function without input validation. An attacker can craft a serialized PHP object with magic methods (__destruct, __wakeup, __toString) that trigger arbitrary code execution during deserialization. SugarCRM's large codebase provides numerous gadget chains for exploitation.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 9.3 CRITICAL
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

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Analysis Updated
Apr 16, 2026 - 05:53 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
6.5.23,7.5.2.4,6.7.12
PoC Detected
Nov 20, 2025 - 17:15 vuln.today
Public exploit code
CVE Published
Jun 20, 2025 - 19:15 nvd
CRITICAL 9.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

SugarCRM versions 6.5.x through 7.7.x contain a critical PHP object injection vulnerability enabling unauthenticated remote code execution. Attackers can exploit the unvalidated rest_data parameter to achieve complete system compromise, affecting all organizations running vulnerable SugarCRM instances without immediate access restrictions.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If patching is delayed, implement Web Application Firewall (WAF) rules to block HTTP requests containing 'rest_data' parameter or targeting SugarRestSerialize.php endpoint; restrict network access to SugarCRM API endpoints to trusted internal IPs only; disable REST API if not operationally required.

Threat Intelligence Overview

Threat Score
5.6/10
Composite threat intelligence
EPSS Score
73.5%
Top 1% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS POC (2) Exploit-DB GitHub Metasploit

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 73.5%
Patch available Yes
Active threat Yes
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Immediate
Exploitation· derived
Active
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

155
Low Medium High Critical
KEV: 0
EPSS: +74
CVSS: +46
PoC: +20
Weaponized: +15
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy