The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2019-25296

CVE-2019-25296: WP Cost Estimation Plugin RCE Vulnerability

CVE-2019-25296 is a remote code execution flaw in WP Cost Estimation plugin for WordPress allowing unauthenticated attackers to upload malicious files and delete critical server files. Learn about technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2019-25296 Overview

The WP Cost Estimation plugin for WordPress contains a critical vulnerability that allows unauthenticated attackers to upload and delete arbitrary files on affected WordPress installations. The flaw exists due to missing file type validation in the lfb_upload_form and lfb_removeFile AJAX actions in versions up to and including 9.642. This security weakness enables attackers to upload malicious files such as PHP web shells, potentially leading to complete server compromise through remote code execution. Additionally, attackers can delete critical configuration files including database configuration files, which can be leveraged to upload their own database configurations and gain unauthorized access to the WordPress installation.

Critical Impact

Unauthenticated attackers can achieve remote code execution by uploading malicious files and can manipulate server configurations by deleting and replacing database files, leading to complete site takeover.

Affected Products

  • WP Cost Estimation & Payment Forms Builder plugin for WordPress versions up to and including 9.642

Discovery Timeline

  • January 8, 2026 - CVE-2019-25296 published to NVD
  • January 8, 2026 - Last updated in NVD database

Technical Details for CVE-2019-25296

Vulnerability Analysis

This vulnerability is classified as CWE-434: Unrestricted Upload of File with Dangerous Type. The WP Cost Estimation plugin exposes two AJAX endpoints—lfb_upload_form and lfb_removeFile—that fail to implement proper file type validation and access controls. Because these endpoints are accessible to unauthenticated users and do not verify the file extensions or MIME types of uploaded content, attackers can upload executable PHP files directly to the web server. The absence of authentication requirements means any remote attacker can exploit this vulnerability without needing valid WordPress credentials.

The file deletion functionality is equally dangerous, as it allows attackers to remove critical system files including wp-config.php, which contains database credentials and security keys. Once deleted, attackers can upload replacement configuration files pointing to attacker-controlled databases, enabling complete hijacking of the WordPress installation.

Root Cause

The root cause of this vulnerability is insufficient input validation in the plugin's AJAX file handling functions. The lfb_upload_form action accepts file uploads without checking file extensions against a whitelist of safe file types, and without verifying MIME types. Similarly, the lfb_removeFile action does not properly restrict which files can be deleted or validate that the requesting user has authorization to perform file deletions. Both functions lack nonce verification and capability checks, making them accessible to any unauthenticated visitor.

Attack Vector

The attack can be executed remotely over the network without requiring any authentication or user interaction. An attacker can send specially crafted HTTP POST requests to the WordPress AJAX handler targeting the vulnerable endpoints. For file upload attacks, the attacker submits a PHP web shell disguised with an innocuous filename, which the plugin stores in a web-accessible directory. The attacker then accesses the uploaded shell directly via HTTP to execute arbitrary commands on the server. For file deletion attacks, the attacker sends requests to the lfb_removeFile endpoint specifying the path to sensitive files like wp-config.php.

The attack chain typically involves:

  1. Sending a POST request to /wp-admin/admin-ajax.php with action=lfb_upload_form and a malicious PHP payload
  2. Identifying the upload directory and accessing the uploaded web shell
  3. Executing arbitrary system commands through the web shell to establish persistence

Detection Methods for CVE-2019-25296

Indicators of Compromise

  • Unexpected PHP files appearing in WordPress upload directories, particularly in /wp-content/uploads/ or plugin-specific upload folders
  • Web server logs showing POST requests to admin-ajax.php with action=lfb_upload_form from external IP addresses
  • Missing or modified wp-config.php or other critical WordPress configuration files
  • Suspicious outbound network connections from the web server indicating command and control communication

Detection Strategies

  • Monitor WordPress AJAX endpoints for requests containing lfb_upload_form or lfb_removeFile actions, especially from unauthenticated sessions
  • Implement file integrity monitoring on WordPress core files and critical plugin directories to detect unauthorized modifications
  • Configure web application firewall (WAF) rules to inspect and block file uploads containing PHP or executable content to vulnerable endpoints
  • Review web server access logs for patterns indicating automated exploitation attempts against the WP Cost Estimation plugin

Monitoring Recommendations

  • Enable detailed logging of all WordPress AJAX requests and correlate with authentication state to identify unauthenticated access to sensitive endpoints
  • Deploy endpoint detection and response (EDR) solutions to monitor for suspicious process execution originating from web server processes
  • Implement real-time alerting for new PHP file creation in upload directories outside of normal administrative activity windows

How to Mitigate CVE-2019-25296

Immediate Actions Required

  • Update the WP Cost Estimation plugin to a version newer than 9.642 that includes the security patch
  • If an update is not immediately available, deactivate the WP Cost Estimation plugin until a patched version can be installed
  • Audit WordPress upload directories for any suspicious PHP files and remove unauthorized content
  • Review web server logs for evidence of exploitation and assess whether the site may have been compromised

Patch Information

The vulnerability was patched by the plugin vendor in versions after 9.642. Security researchers at Wordfence documented the vulnerability and patch details in their Plugin Patch Analysis. Users should update to the latest available version through the WordPress plugin repository or CodeCanyon marketplace where the plugin is distributed. Additional vulnerability details are available through the Wordfence Vulnerability Threat Intel database.

Workarounds

  • Temporarily disable the WP Cost Estimation plugin if updating is not immediately possible
  • Implement web application firewall rules to block unauthenticated requests to the lfb_upload_form and lfb_removeFile AJAX actions
  • Restrict file upload permissions in the web server configuration to prevent PHP execution in upload directories using .htaccess rules or nginx configuration directives
  • Use WordPress security plugins to add additional authentication requirements to AJAX endpoints
bash
# Apache .htaccess configuration to prevent PHP execution in uploads
# Add this to wp-content/uploads/.htaccess
<Files "*.php">
    Require all denied
</Files>

# Alternative method using handler removal
RemoveHandler .php .phtml .php3 .php4 .php5 .php7 .phps
RemoveType .php .phtml .php3 .php4 .php5 .php7 .phps

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWordpress

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.21%

  • 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
  • WPScan Vulnerability #9219

  • Acunetix WordPress Plugin Vulnerabilities

  • Wordfence Plugin Patch Analysis

  • Wordfence Vulnerability Threat Intel

  • ZDNet WordPress Plugin Exploit Article
  • Related CVEs
  • CVE-2026-6271: Career Section WordPress Plugin RCE Flaw

  • CVE-2020-37169: Ultimate Member WordPress Plugin RCE Flaw

  • CVE-2026-3425: RTMKit Addons for Elementor RCE Flaw

  • CVE-2026-6433: WordPress Custom css-js-php RCE Flaw
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