Cyber Resilience

CVE-2025-34061

CriticalPublic PoCRCE

Published: 03 July 2025

Published
03 July 2025
Modified
15 April 2026
KEV Added
Patch
CVSS Score v4 9.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.7630 99.0th percentile
Risk Priority 64 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-34061 is a critical-severity Code Injection (CWE-94) vulnerability. Its CVSS base score is 9.3 (Critical).

Operationally, ranked in the top 1.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

A backdoor present in PHPStudy versions 2016 through 2018 enables unauthenticated remote code execution on affected installations. The flaw, tracked as CVE-2025-34061 and assigned CWE-94, causes the software to inspect the Accept-Charset HTTP header of incoming requests for base64-encoded PHP payloads, decode them, and execute the resulting code without validation, granting an attacker the privileges of the web server user.

Unauthenticated attackers reachable over the network can exploit the issue by sending a crafted HTTP request containing an encoded payload in the Accept-Charset header. Successful exploitation results in arbitrary PHP code execution on the target system, allowing full compromise of the web application and underlying host.

The EPSS score for this vulnerability currently stands at 0.7630, matching its recorded peak, while public exploit code is available in the Metasploit Framework. No vendor advisory or patch information is referenced in the supplied sources.

EU & UK References

Vulnerability details

A backdoor in PHPStudy versions 2016 through 2018 allows unauthenticated remote attackers to execute arbitrary PHP code on affected installations. The backdoor listens for base64-encoded PHP payloads in the Accept-Charset HTTP header of incoming requests, decodes and executes the payload…

more

without proper validation. This leads to remote code execution as the web server user, compromising the affected system.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

PHPStudy
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-94

Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.

addresses: CWE-94

Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.

addresses: CWE-94

Validates inputs used in dynamic code generation to block injected directives.

addresses: CWE-94

Directly prevents execution of attacker-supplied code written into data memory regions.

References