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-5499

CVE-2025-5499: Phpwcms RCE Vulnerability via Deserialization

CVE-2025-5499 is a critical remote code execution vulnerability in Phpwcms affecting versions up to 1.9.45/1.10.8 through deserialization in image_resized.php. This article covers technical details, impact, and patches.

Published: March 25, 2026

CVE-2025-5499 Overview

A critical deserialization vulnerability has been discovered in slackero phpwcms versions up to 1.9.45 and 1.10.8. The vulnerability affects the is_file and getimagesize functions within the image_resized.php file. By manipulating the imgfile argument, an attacker can trigger unsafe deserialization, potentially leading to remote code execution on the affected server.

Critical Impact

Remote attackers can exploit this insecure deserialization vulnerability without authentication to potentially execute arbitrary code on vulnerable phpwcms installations.

Affected Products

  • phpwcms versions up to and including 1.9.45
  • phpwcms versions up to and including 1.10.8
  • All installations using the vulnerable image_resized.php component

Discovery Timeline

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

Technical Details for CVE-2025-5499

Vulnerability Analysis

This vulnerability falls under CWE-502 (Deserialization of Untrusted Data) and CWE-20 (Improper Input Validation). The flaw exists in the image processing functionality of phpwcms, specifically within the image_resized.php file. The imgfile parameter is passed to the is_file and getimagesize PHP functions without proper validation or sanitization.

When user-controlled input reaches these functions, it can be crafted to trigger PHP's deserialization mechanism through the phar:// stream wrapper. This technique allows attackers to deserialize arbitrary objects, which can lead to remote code execution if the application contains exploitable gadget chains.

The vulnerability is remotely exploitable and requires no authentication, making it particularly dangerous for internet-facing phpwcms installations.

Root Cause

The root cause of this vulnerability is insufficient input validation of the imgfile parameter in image_resized.php. The application fails to properly sanitize user-supplied input before passing it to file operation functions (is_file and getimagesize). These PHP functions can be manipulated to process phar:// streams, which automatically trigger deserialization of metadata contained within specially crafted PHAR archives.

Attack Vector

The attack is network-based and can be executed remotely without any authentication or user interaction. An attacker can craft malicious requests targeting the image_resized.php endpoint with a specially crafted imgfile parameter value. By leveraging the phar:// stream wrapper, the attacker can force the application to deserialize malicious serialized PHP objects.

The exploitation process typically involves:

  1. Uploading or hosting a malicious PHAR file containing a serialized payload
  2. Sending a request to image_resized.php with the imgfile parameter pointing to the PHAR file using the phar:// wrapper
  3. The is_file or getimagesize function processes the PHAR stream, triggering deserialization
  4. If exploitable gadget chains exist in the application, arbitrary code execution may occur

For detailed technical information about this vulnerability, refer to the GitHub PoC Repository and VulDB entry #310914.

Detection Methods for CVE-2025-5499

Indicators of Compromise

  • Unusual requests to image_resized.php containing phar:// in the imgfile parameter
  • Web server logs showing requests with encoded or obfuscated phar:// stream wrapper patterns
  • Unexpected file uploads with .phar extensions or PHAR magic bytes in image upload directories
  • Anomalous PHP process behavior following requests to the image processing endpoint

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing phar:// stream wrapper patterns
  • Monitor HTTP request logs for suspicious imgfile parameter values targeting image_resized.php
  • Deploy file integrity monitoring on phpwcms installation directories to detect unauthorized modifications
  • Configure intrusion detection systems to alert on deserialization attack patterns

Monitoring Recommendations

  • Enable detailed logging for the phpwcms application and web server
  • Set up alerts for requests containing phar://, compress.zlib://, or similar PHP stream wrappers
  • Monitor for unusual process spawning from PHP or web server processes
  • Implement network-level monitoring for outbound connections from the web server to detect potential reverse shells

How to Mitigate CVE-2025-5499

Immediate Actions Required

  • Upgrade phpwcms to version 1.9.46 or 1.10.9 immediately
  • If immediate upgrade is not possible, restrict access to image_resized.php through web server configuration
  • Review server logs for any evidence of exploitation attempts
  • Consider temporarily disabling the affected image processing functionality until patching is complete

Patch Information

The phpwcms development team has addressed this vulnerability in versions 1.9.46 and 1.10.9. Users should upgrade to these versions or later to remediate the issue. The patched release is available on the official GitHub repository.

Workarounds

  • Block requests containing phar:// at the web server or WAF level before they reach PHP
  • Implement input validation to reject any imgfile values containing stream wrapper patterns
  • Disable the phar extension in PHP if not required for other application functionality
  • Use PHP's disable_functions directive to restrict dangerous functions if feasible
bash
# Apache .htaccess rule to block phar:// requests
RewriteEngine On
RewriteCond %{QUERY_STRING} phar:// [NC,OR]
RewriteCond %{REQUEST_URI} phar:// [NC]
RewriteRule .* - [F,L]

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 Score6.9

  • EPSS Probability0.43%

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

  • CWE-502
  • Technical References
  • GitHub PoC Repository

  • GitHub Release v1.10.9

  • VulDB CTI ID #310914

  • VulDB #310914

  • VulDB Submit #578082

  • VulDB Submit #578083
  • Related CVEs
  • CVE-2021-47783: Phpwcms 1.9.30 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