A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-5498

CVE-2025-5498: Phpwcms RCE Vulnerability

CVE-2025-5498 is a critical remote code execution vulnerability in Phpwcms affecting versions up to 1.9.45/1.10.8. Attackers can exploit deserialization flaws to execute arbitrary code remotely. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: June 2, 2026

CVE-2025-5498 Overview

CVE-2025-5498 is an insecure deserialization vulnerability in slackero phpwcms versions up to 1.9.45 and 1.10.8. The flaw resides in the file_get_contents and is_file operations within include/inc_lib/content/cnt21.readform.inc.php, part of the Custom Source Tab component. Attackers can manipulate the cpage_custom argument to trigger deserialization of attacker-controlled data. The issue is remotely exploitable and a public proof of concept exists. The vendor addressed the vulnerability in versions 1.9.46 and 1.10.9. The weakness is classified under CWE-502 (Deserialization of Untrusted Data) and CWE-20 (Improper Input Validation).

Critical Impact

Authenticated remote attackers can supply crafted input to cpage_custom, leading to deserialization of untrusted data and limited impact to confidentiality, integrity, and availability of the phpwcms instance.

Affected Products

  • phpwcms versions up to and including 1.9.45
  • phpwcms versions up to and including 1.10.8
  • Component: Custom Source Tab (include/inc_lib/content/cnt21.readform.inc.php)

Discovery Timeline

  • 2025-06-03 - CVE-2025-5498 published to NVD
  • 2026-01-20 - Last updated in NVD database

Technical Details for CVE-2025-5498

Vulnerability Analysis

The vulnerability stems from how phpwcms handles the cpage_custom parameter inside include/inc_lib/content/cnt21.readform.inc.php. The Custom Source Tab component passes user-controlled input into PHP file operations such as file_get_contents and is_file without proper validation. When PHP processes specially crafted stream wrappers or serialized objects through these calls, the application can deserialize attacker-supplied data. This deserialization path enables object injection, where malicious serialized payloads can trigger unintended method invocations through PHP magic methods. The exploit is reachable over the network and requires low privileges plus user interaction.

Root Cause

The root cause is missing input validation on the cpage_custom argument combined with unsafe use of PHP filesystem functions that accept stream wrappers. Wrappers such as phar:// can trigger automatic deserialization of metadata embedded in Phar archives when file_get_contents or is_file is called against an attacker-controlled path. Without sanitization, this becomes a direct deserialization sink ([CWE-502]).

Attack Vector

An authenticated attacker submits a crafted value for cpage_custom through the Custom Source Tab functionality. The value references an attacker-controlled file path or stream wrapper that points to a malicious payload. When phpwcms invokes file_get_contents or is_file against this path, PHP processes the stream wrapper and deserializes embedded data. A successful chain depends on gadget classes available within phpwcms or loaded extensions to translate object instantiation into meaningful impact on confidentiality, integrity, or availability.

No verified exploit code is reproduced here. Public proof of concept material is referenced in the GitHub PoC for file_get_contents and the GitHub PoC for is_file.

Detection Methods for CVE-2025-5498

Indicators of Compromise

  • HTTP requests to phpwcms endpoints containing a cpage_custom parameter with phar://, data://, or other non-standard stream wrapper schemes
  • Web server access logs showing unusual file paths or external URLs supplied to Custom Source Tab handlers
  • Unexpected outbound network connections originating from the PHP-FPM or web server process after requests targeting cnt21.readform.inc.php
  • New or modified files in the phpwcms installation directory following suspicious POST requests by authenticated low-privilege users

Detection Strategies

  • Inspect web application firewall (WAF) logs for requests carrying serialized PHP object signatures such as O: or a: patterns inside the cpage_custom value
  • Hunt for repeated 200-response requests to cnt21.readform.inc.php from non-administrative accounts
  • Correlate authenticated user sessions with subsequent process or file system anomalies on the web server host

Monitoring Recommendations

  • Forward web server, PHP error, and authentication logs to a centralized logging platform for correlation against process telemetry
  • Alert on PHP processes spawning shell interpreters, network utilities, or making unexpected outbound connections
  • Track configuration and content file modifications inside the phpwcms web root for unauthorized changes

How to Mitigate CVE-2025-5498

Immediate Actions Required

  • Upgrade phpwcms to version 1.9.46 or 1.10.9 as published in the Slackero phpwcms Release v1.10.9
  • Audit existing administrative and editor accounts for unauthorized activity in Custom Source Tab content
  • Review web server logs for prior requests to cnt21.readform.inc.php containing suspicious cpage_custom values
  • Rotate credentials and session tokens for accounts that may have accessed the affected component

Patch Information

The phpwcms maintainers resolved the issue in versions 1.9.46 and 1.10.9. Administrators should upgrade to one of these releases. Patch details and release notes are available in the Slackero phpwcms Release v1.10.9. Vulnerability tracking information is published at VulDB #310913.

Workarounds

  • Restrict access to the phpwcms administrative interface using network-level controls or IP allowlisting until the patch is applied
  • Disable the Custom Source Tab feature for non-administrative roles if patching cannot be performed immediately
  • Configure PHP to disable risky stream wrappers by setting allow_url_fopen=Off and limiting phar stream access where feasible
  • Deploy WAF rules that block serialized PHP payloads and non-standard URI schemes submitted to the cpage_custom parameter
bash
# php.ini hardening example
allow_url_fopen = Off
allow_url_include = Off
open_basedir = /var/www/phpwcms
disable_functions = exec,passthru,shell_exec,system,proc_open,popen

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPhpwcms

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.64%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/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
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-20

  • CWE-502
  • Technical References
  • GitHub PoC for file_get_contents

  • GitHub PoC for is_file

  • Slackero phpwcms Release v1.10.9

  • VulDB #310913 CTIID

  • VulDB #310913

  • VulDB Submission #578054

  • VulDB Submission #578055
  • Related CVEs
  • CVE-2025-5499: Phpwcms RCE Vulnerability via Deserialization

  • CVE-2021-47783: Phpwcms XSS Vulnerability via File Upload
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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