Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-34061

CVE-2025-34061: PHPStudy Backdoor RCE Vulnerability

CVE-2025-34061 is a backdoor remote code execution vulnerability in PHPStudy versions 2016 through 2018 that allows unauthenticated attackers to execute arbitrary PHP code. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: April 1, 2026

CVE-2025-34061 Overview

A critical backdoor vulnerability exists in PHPStudy versions 2016 through 2018 that 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 without proper validation. This leads to remote code execution as the web server user, compromising the affected system.

Critical Impact

Unauthenticated attackers can achieve full remote code execution by sending a specially crafted HTTP request with a malicious base64-encoded payload in the Accept-Charset header, potentially leading to complete system compromise.

Affected Products

  • PHPStudy 2016
  • PHPStudy 2017
  • PHPStudy 2018

Discovery Timeline

  • 2025-07-03 - CVE CVE-2025-34061 published to NVD
  • 2025-07-08 - Last updated in NVD database

Technical Details for CVE-2025-34061

Vulnerability Analysis

This vulnerability is classified as Code Injection (CWE-94) and represents an intentionally planted backdoor in PHPStudy installations. The backdoor mechanism is particularly insidious because it leverages a legitimate HTTP header field (Accept-Charset) to receive malicious payloads, making detection through traditional web application firewalls challenging.

The vulnerability requires no authentication and can be exploited remotely over the network. Since the malicious code executes with the privileges of the web server user, successful exploitation can lead to unauthorized access to sensitive data, lateral movement within the network, installation of additional malware, or use of the compromised system as a pivot point for further attacks.

Root Cause

The root cause of this vulnerability is an intentionally embedded backdoor within certain distributions of PHPStudy software. The backdoor code monitors incoming HTTP requests for the Accept-Charset header, and when present, attempts to decode the header value from base64 and execute it as PHP code. This represents a supply chain compromise where malicious functionality was deliberately inserted into the software.

Attack Vector

The attack vector is network-based and requires no user interaction or prior authentication. An attacker can exploit this vulnerability by sending an HTTP request to any PHP page on the vulnerable server. The request must include an Accept-Charset header containing a base64-encoded PHP payload.

When the backdoored PHPStudy installation processes the request, it extracts the Accept-Charset header value, base64-decodes it, and passes the resulting string to PHP's eval() function or similar code execution mechanism. This allows the attacker to execute arbitrary PHP code in the context of the web server process.

A Metasploit module exists for this vulnerability, providing automated exploitation capabilities. For technical implementation details, refer to the Metasploit exploit module on GitHub.

Detection Methods for CVE-2025-34061

Indicators of Compromise

  • Unusual HTTP requests containing base64-encoded strings in the Accept-Charset header
  • Unexpected PHP process activity or spawned child processes from the web server
  • Web server logs showing requests with abnormally long or suspicious Accept-Charset header values
  • Evidence of webshell deployment or unauthorized file creation in web directories

Detection Strategies

  • Implement web application firewall (WAF) rules to inspect and flag suspicious Accept-Charset header values containing base64-encoded content
  • Deploy network intrusion detection signatures that match the pattern of PHPStudy backdoor exploitation attempts
  • Use endpoint detection tools to monitor for PHP processes executing unusual system commands or establishing outbound connections
  • Perform file integrity monitoring on PHPStudy installations to detect backdoored components

Monitoring Recommendations

  • Enable detailed HTTP header logging on web servers to capture full request headers including Accept-Charset
  • Monitor for base64 patterns in HTTP headers that decode to PHP code constructs
  • Track process genealogy for web server processes to identify suspicious command execution
  • Implement real-time alerting on web server processes creating new files or network connections

How to Mitigate CVE-2025-34061

Immediate Actions Required

  • Immediately discontinue use of PHPStudy versions 2016 through 2018 in production environments
  • Replace affected installations with alternative PHP development environments from trusted sources
  • Conduct forensic analysis of any systems that were running vulnerable PHPStudy versions to identify potential compromise
  • Review network logs for evidence of exploitation attempts targeting the Accept-Charset header

Patch Information

There is no official patch available for this vulnerability as the backdoor was intentionally embedded in the affected software distributions. The recommended remediation is to completely remove PHPStudy versions 2016-2018 and obtain PHP development tools from official, verified sources. Users can reference the official PHPStudy website for information about current software versions, though independent verification of software integrity is strongly recommended.

Workarounds

  • Remove or replace the compromised PHPStudy installation entirely with a clean PHP environment built from official sources
  • Block or filter HTTP requests containing suspicious patterns in the Accept-Charset header at the network perimeter
  • If immediate removal is not possible, isolate affected systems from production networks and sensitive resources
  • Implement strict web application firewall rules to drop requests with base64-encoded content in HTTP headers
bash
# Example: Block suspicious Accept-Charset headers in Apache (mod_security rule)
SecRule REQUEST_HEADERS:Accept-Charset "@rx ^[A-Za-z0-9+/]{20,}={0,2}$" "id:1001,phase:1,deny,status:403,msg:'Potential PHPStudy backdoor exploitation attempt'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPhpstudy

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability62.96%

  • Known ExploitedNo
  • CVSS 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/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Metasploit Exploit

  • XP PHP Study Resource
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English