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-2024-13725

CVE-2024-13725: Keap Opt-In Forms RCE Vulnerability

CVE-2024-13725 is a remote code execution flaw in Keap Official Opt-In Forms for WordPress that enables unauthenticated attackers to include and execute PHP files. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-13725 Overview

The Keap Official Opt-in Forms plugin for WordPress contains a critical Local File Inclusion (LFI) vulnerability affecting all versions up to and including 2.0.1. The vulnerability exists in the service parameter handling, which allows unauthenticated attackers to include arbitrary PHP files on the server. This flaw enables execution of any PHP code present in those files, potentially leading to complete site compromise.

Critical Impact

Unauthenticated attackers can exploit this vulnerability to bypass access controls, steal sensitive data, or achieve Remote Code Execution if register_argc_argv is enabled and pearcmd.php is installed on the server.

Affected Products

  • Keap Official Opt-in Forms plugin for WordPress versions ≤ 2.0.1
  • WordPress installations using the vulnerable plugin (also known as Infusionsoft Official Opt-in Forms)
  • Servers with register_argc_argv enabled and pearcmd.php installed (elevated RCE risk)

Discovery Timeline

  • 2025-02-18 - CVE CVE-2024-13725 published to NVD
  • 2025-02-21 - Last updated in NVD database

Technical Details for CVE-2024-13725

Vulnerability Analysis

This Local File Inclusion vulnerability stems from improper input validation in the WordPress plugin's request handling logic. The service parameter accepts user-controlled input that is used to construct file paths for PHP file inclusion without adequate sanitization. Because the vulnerability is accessible without authentication, any remote attacker can craft malicious requests to include arbitrary PHP files that exist on the server.

The attack surface is significantly expanded when certain server configurations are present. If the PHP directive register_argc_argv is enabled and the PEAR package manager's pearcmd.php file is accessible, attackers can leverage this LFI vulnerability to achieve Remote Code Execution through a technique known as "pearcmd exploitation." This technique abuses PEAR's command-line interface functionality to write arbitrary PHP files to the webroot.

Root Cause

The root cause is a path traversal vulnerability (CWE-22) in the plugin's file inclusion mechanism. The vulnerable code fails to properly validate and sanitize the service parameter before using it in a file inclusion operation. This allows attackers to use directory traversal sequences (such as ../) to escape the intended directory and include files from arbitrary locations on the filesystem.

The vulnerable code can be reviewed in the WordPress Plugin Source Code, specifically around line 2540 in infusionsoft.php.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can send specially crafted HTTP requests to a WordPress site running the vulnerable plugin. The service parameter is manipulated to include directory traversal sequences that navigate to sensitive PHP files on the server.

In the most severe scenario, when register_argc_argv is enabled and pearcmd.php is accessible, the attacker can chain this LFI with PEAR command injection to write a malicious PHP webshell to the server, achieving full Remote Code Execution. This transforms a file inclusion vulnerability into complete server compromise.

The exploitation does not require any authenticated session, making it trivially exploitable by any attacker who can reach the WordPress installation over the network.

Detection Methods for CVE-2024-13725

Indicators of Compromise

  • Unusual HTTP requests to the Keap/Infusionsoft plugin endpoints containing ../ sequences or references to system files
  • Web server access logs showing requests with the service parameter containing path traversal patterns
  • Unexpected PHP files appearing in the webroot or plugin directories
  • Evidence of pearcmd.php access in server logs if RCE was attempted
  • Suspicious outbound network connections from the web server following exploitation

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block path traversal attempts in request parameters
  • Monitor web server logs for requests containing directory traversal sequences (../, ..%2f, etc.) targeting plugin endpoints
  • Deploy file integrity monitoring on WordPress installations to detect unauthorized file modifications
  • Configure intrusion detection systems to alert on LFI attack patterns targeting WordPress plugins

Monitoring Recommendations

  • Enable verbose logging for WordPress and the web server to capture detailed request information
  • Set up alerts for any access attempts to pearcmd.php or similar PEAR-related files
  • Monitor for new or modified PHP files in the WordPress installation directory
  • Review access logs regularly for patterns consistent with automated vulnerability scanning

How to Mitigate CVE-2024-13725

Immediate Actions Required

  • Update the Keap Official Opt-in Forms plugin to a patched version immediately if available
  • If no patch is available, deactivate and remove the plugin until a fix is released
  • Audit web server logs for any evidence of exploitation attempts
  • Disable register_argc_argv in PHP configuration if not required by applications
  • Restrict or remove access to pearcmd.php and other PEAR command-line utilities

Patch Information

Organizations using the Keap Official Opt-in Forms plugin should check the WordPress Plugin Page for the latest version and security updates. The Wordfence Vulnerability Report provides additional details about affected versions and remediation guidance.

Workarounds

  • Disable the Keap Official Opt-in Forms plugin until a patched version is available
  • Implement WAF rules to block requests containing path traversal sequences targeting the plugin
  • Set register_argc_argv = Off in php.ini to prevent the pearcmd RCE escalation path
  • Remove or restrict access to PEAR command-line tools (pearcmd.php, peclcmd.php)
  • Apply principle of least privilege to web server file system permissions
bash
# Configuration example - Disable register_argc_argv in PHP
# Add to php.ini or PHP configuration file
register_argc_argv = Off

# Restrict access to PEAR files via Apache
# Add to .htaccess or Apache configuration
<FilesMatch "^(pearcmd|peclcmd)\.php$">
    Require all denied
</FilesMatch>

# Nginx configuration to block PEAR files
location ~ /(pearcmd|peclcmd)\.php$ {
    deny all;
    return 404;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechKeap

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.40%

  • 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-22
  • Technical References
  • WordPress Plugin Information

  • Wordfence Vulnerability Report
  • Vendor Resources
  • WordPress Plugin Source Code
  • 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