CVE-2025-34061
Published: 03 July 2025
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
- 🇪🇺 ENISA EUVD: EUVD-2025-19906
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
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.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.