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

CVE-2025-25790: Foxcms Foxcms RCE Vulnerability

CVE-2025-25790 is a remote code execution vulnerability in Foxcms Foxcms v1.2.5 caused by arbitrary file upload flaws. Attackers can upload malicious Zip files to execute arbitrary code on the server.

Published: March 18, 2026

CVE-2025-25790 Overview

An arbitrary file upload vulnerability exists in the \controller\LocalTemplate.php component of FoxCMS v1.2.5. This flaw allows remote attackers to execute arbitrary code on the target server by uploading a specially crafted Zip file. The vulnerability arises from insufficient validation of file contents during the template upload process, enabling attackers to bypass security controls and achieve remote code execution.

Critical Impact

Unauthenticated remote attackers can achieve full server compromise through arbitrary code execution by exploading the insecure file upload functionality in FoxCMS v1.2.5.

Affected Products

  • FoxCMS v1.2.5
  • FoxCMS \controller\LocalTemplate.php component

Discovery Timeline

  • 2025-02-26 - CVE-2025-25790 published to NVD
  • 2025-04-09 - Last updated in NVD database

Technical Details for CVE-2025-25790

Vulnerability Analysis

This vulnerability is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type). The LocalTemplate.php controller in FoxCMS v1.2.5 fails to properly validate the contents of uploaded Zip files during the template import process. An attacker can craft a malicious Zip archive containing PHP web shells or other executable code, which gets extracted and stored in a web-accessible directory. Once the malicious files are extracted, the attacker can directly access them via HTTP requests to achieve remote code execution on the underlying server.

The vulnerability is network-accessible and requires no authentication or user interaction to exploit, making it particularly dangerous for internet-facing FoxCMS installations. Successful exploitation grants attackers complete control over the web server, including the ability to read sensitive data, modify content, and pivot to other systems on the network.

Root Cause

The root cause of this vulnerability lies in the inadequate file validation within the LocalTemplate.php controller. The component accepts Zip file uploads for template installation but fails to:

  1. Validate file extensions within the Zip archive against a whitelist of safe file types
  2. Inspect file contents for potentially malicious PHP code or web shells
  3. Sanitize filenames to prevent path traversal attacks during extraction
  4. Restrict the extraction location to prevent files from being placed in executable directories

This combination of missing security controls allows attackers to upload and execute arbitrary PHP code on the server.

Attack Vector

The attack is carried out over the network, targeting the template upload functionality in FoxCMS. An attacker prepares a malicious Zip file containing a PHP web shell or backdoor script. By submitting this crafted archive to the vulnerable LocalTemplate.php endpoint, the attacker can have the malicious files extracted to the web server's document root. Once extracted, the attacker can access the uploaded PHP file directly via a web browser to execute arbitrary commands on the server with the privileges of the web server process.

The vulnerability requires no authentication to exploit, meaning any remote attacker with network access to a vulnerable FoxCMS instance can attempt exploitation. The attack does not require any user interaction, making automated exploitation feasible.

Detection Methods for CVE-2025-25790

Indicators of Compromise

  • Unexpected PHP files appearing in template directories or web-accessible paths
  • Web server access logs showing requests to unusual PHP files in template-related directories
  • Suspicious Zip file uploads to the FoxCMS template upload endpoint
  • Evidence of command execution or reverse shell connections originating from the web server process

Detection Strategies

  • Monitor file system changes in FoxCMS template directories for newly created PHP files
  • Implement web application firewall (WAF) rules to inspect Zip file uploads for embedded PHP code
  • Review web server access logs for anomalous POST requests to LocalTemplate.php endpoints
  • Deploy endpoint detection to identify unauthorized process spawning from web server processes

Monitoring Recommendations

  • Enable detailed logging for file upload operations in FoxCMS
  • Configure alerts for new executable file creation in web-accessible directories
  • Monitor for outbound connections from web server processes that may indicate reverse shell activity
  • Implement integrity monitoring on critical FoxCMS directories to detect unauthorized modifications

How to Mitigate CVE-2025-25790

Immediate Actions Required

  • Remove or restrict access to the LocalTemplate.php template upload functionality until a patch is available
  • Implement network-level access controls to restrict access to FoxCMS administrative functions
  • Review existing template directories for any suspicious or unexpected PHP files
  • Consider upgrading to a newer version of FoxCMS if a patched release becomes available

Patch Information

As of the last update, no official vendor patch has been publicly announced for this vulnerability. Organizations should monitor the FoxCMS Official Site and FoxCMS Chinese Version Site for security updates. Additional technical details about this vulnerability are available in the GitHub FoxCMS RCE Exploit documentation.

Workarounds

  • Disable or remove the template upload functionality by restricting access to LocalTemplate.php
  • Implement strict file type validation at the web server level to reject Zip files containing PHP code
  • Deploy a WAF with rules to block malicious file uploads to the template endpoint
  • Restrict administrative access to FoxCMS using IP whitelisting or VPN requirements
bash
# Example: Restrict access to LocalTemplate.php using Apache
<Location /controller/LocalTemplate.php>
    Require ip 10.0.0.0/8
    Require ip 192.168.0.0/16
</Location>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFoxcms

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.65%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Technical References
  • FoxCMS Official Site

  • GitHub FoxCMS RCE Exploit

  • FoxCMS Chinese Version Site
  • Related CVEs
  • CVE-2025-29306: Foxcms Foxcms RCE Vulnerability

  • CVE-2025-25789: Foxcms Foxcms RCE 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