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

CVE-2019-25687: Pegasus CMS 1.0 RCE Vulnerability

CVE-2019-25687 is a remote code execution flaw in Pegasus CMS 1.0 that allows unauthenticated attackers to execute arbitrary commands via unsafe eval functionality. This article covers technical details, impact, and mitigation.

Published: April 10, 2026

CVE-2019-25687 Overview

CVE-2019-25687 is a critical remote code execution vulnerability affecting Pegasus CMS version 1.0. The vulnerability exists in the extra_fields.php plugin, which contains unsafe eval() functionality that allows unauthenticated attackers to execute arbitrary commands on the target system. By sending specially crafted POST requests to the submit.php endpoint with malicious PHP code in the action parameter, attackers can achieve code execution and potentially obtain an interactive shell on the vulnerable server.

Critical Impact

Unauthenticated remote code execution allowing attackers to gain full control of the affected web server through command injection via unsafe eval functionality.

Affected Products

  • Pegasus CMS 1.0

Discovery Timeline

  • 2026-04-05 - CVE CVE-2019-25687 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2019-25687

Vulnerability Analysis

This vulnerability is classified under CWE-22 (Path Traversal), though the primary attack mechanism involves unsafe use of PHP's eval() function within the extra_fields.php plugin. The vulnerability allows unauthenticated attackers to inject and execute arbitrary PHP code through the application's submission endpoint.

The attack requires no authentication or user interaction, making it highly exploitable from a network context. An attacker can craft malicious HTTP POST requests targeting the submit.php endpoint, embedding PHP code in the action parameter. When the server processes this request, the injected code is passed to the unsafe eval() function, resulting in arbitrary command execution with the privileges of the web server process.

Successful exploitation can lead to complete server compromise, including data theft, installation of backdoors, lateral movement within the network, and use of the compromised server for further attacks.

Root Cause

The root cause of this vulnerability is the improper use of PHP's eval() function within the extra_fields.php plugin. The plugin fails to properly sanitize or validate user-supplied input before passing it to eval(), allowing attackers to inject arbitrary PHP code. This represents a fundamental secure coding violation, as eval() should never be used with untrusted input.

Attack Vector

The attack vector is network-based, requiring the attacker to send HTTP POST requests to the submit.php endpoint. The vulnerability can be exploited by:

  1. Identifying a vulnerable Pegasus CMS 1.0 installation
  2. Crafting a POST request to the submit.php endpoint
  3. Including malicious PHP code in the action parameter
  4. The unsafe eval() function executes the injected code
  5. The attacker gains command execution on the server

For technical details on exploitation, see the Exploit-DB #46542 advisory.

Detection Methods for CVE-2019-25687

Indicators of Compromise

  • Unusual POST requests to submit.php with suspicious payloads in the action parameter
  • Web server logs showing encoded PHP functions like system(), exec(), passthru(), or shell_exec() in request parameters
  • Unexpected outbound connections from the web server process
  • New or modified files in the web root directory, particularly PHP files
  • Evidence of webshell activity or reverse shell connections

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing PHP code injection attempts
  • Monitor web server access logs for POST requests to submit.php with anomalous or encoded content in parameters
  • Deploy network intrusion detection systems (IDS) with signatures for common PHP code injection patterns
  • Use file integrity monitoring (FIM) to detect unauthorized changes to web application files

Monitoring Recommendations

  • Enable detailed logging on web servers hosting Pegasus CMS installations
  • Monitor process creation events from the web server process for suspicious child processes
  • Implement egress filtering to detect and alert on unexpected outbound connections
  • Review server logs regularly for signs of exploitation attempts or successful compromise

How to Mitigate CVE-2019-25687

Immediate Actions Required

  • Immediately disable or remove the extra_fields.php plugin from Pegasus CMS installations
  • Consider taking vulnerable Pegasus CMS instances offline until a patch is available or alternative mitigations are in place
  • Implement web application firewall rules to block requests to submit.php or filter dangerous parameter values
  • Conduct forensic analysis on any systems that may have been exposed to determine if exploitation occurred

Patch Information

No official vendor patch information is currently available for this vulnerability. Organizations using Pegasus CMS 1.0 should monitor the Vulncheck Advisory for Pegasus CMS for updates. Given the age and severity of this vulnerability, organizations should strongly consider migrating to an actively maintained content management system.

Workarounds

  • Disable or remove the vulnerable extra_fields.php plugin entirely
  • Restrict access to submit.php at the web server level using IP-based access controls
  • Implement strict input validation and output encoding for all user-supplied data if modifying the source code
  • Place the Pegasus CMS installation behind a web application firewall with rules to block code injection attempts
  • Consider isolating vulnerable systems in a network segment with restricted access
bash
# Example Apache configuration to restrict access to submit.php
<Location /submit.php>
    Order deny,allow
    Deny from all
    # Allow only from trusted IP addresses if needed
    # Allow from 192.168.1.0/24
</Location>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPegasus Cms

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.30%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • Exploit-DB #46542

  • Vulncheck Advisory for Pegasus CMS

  • Wisdom Analysis of Pegasus CMS
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS 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