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
    • 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-25451

CVE-2019-25451: phpMoAdmin CSRF Vulnerability

CVE-2019-25451 is a cross-site request forgery flaw in phpMoAdmin 1.1.5 that enables attackers to perform unauthorized database operations. This article covers the technical details, affected versions, and mitigation steps.

Published: February 27, 2026

CVE-2019-25451 Overview

phpMoAdmin 1.1.5 contains a cross-site request forgery (CSRF) vulnerability that allows attackers to perform unauthorized database operations by crafting malicious requests. Attackers can trick authenticated users into submitting GET requests to moadmin.php with parameters like action, db, and collection to create, drop, or repair databases and collections without user consent.

Critical Impact

Attackers can manipulate authenticated phpMoAdmin users into unknowingly executing database operations, potentially leading to data loss, unauthorized database creation, or database corruption through specially crafted malicious links or web pages.

Affected Products

  • phpMoAdmin version 1.1.5
  • Phpmoadmin Phpmoadmin

Discovery Timeline

  • 2026-02-20 - CVE CVE-2019-25451 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2019-25451

Vulnerability Analysis

This vulnerability exists due to the lack of proper CSRF token validation in phpMoAdmin's request handling mechanism. The application processes sensitive database operations through GET requests without verifying that the request originated from a legitimate user action within the application interface. When an authenticated administrator visits a malicious webpage or clicks a crafted link, their browser automatically includes session cookies with the request, allowing the attacker's malicious request to execute with the victim's privileges.

The vulnerability is particularly concerning because it targets database administrative functions. Since phpMoAdmin is a MongoDB administration tool, successful exploitation could result in the deletion or modification of entire databases and collections, potentially causing significant data loss or service disruption.

Root Cause

The root cause of this vulnerability is the absence of anti-CSRF tokens in phpMoAdmin's implementation. The moadmin.php script accepts and processes database operations through GET requests without validating that the request includes a cryptographically secure token tied to the user's session. This design flaw allows any external website to construct URLs that, when visited by an authenticated user, will execute administrative operations on the MongoDB instance.

Additionally, the use of GET requests for state-changing operations violates REST API best practices and HTTP semantics, where GET requests should be idempotent and not modify server state.

Attack Vector

The attack is network-based and requires user interaction. An attacker must first craft a malicious URL containing the target database operation parameters. The attack scenario typically involves:

  1. The attacker identifies a phpMoAdmin instance and crafts a malicious URL targeting moadmin.php with parameters such as action=dropDb, db=target_database, or similar destructive operations
  2. The attacker hosts this URL on a malicious webpage, embeds it in an image tag, or distributes it via phishing emails
  3. When an authenticated phpMoAdmin administrator visits the malicious page or clicks the link, their browser automatically sends the request with their active session credentials
  4. The phpMoAdmin server processes the request as legitimate, executing the database operation without the user's knowledge or consent

For technical details, refer to the Exploit-DB #46082 and the VulnCheck Advisory on PHPMoAdmin.

Detection Methods for CVE-2019-25451

Indicators of Compromise

  • Unexpected GET requests to moadmin.php with action parameters like dropDb, dropCollection, createDb, or repairDb
  • Database operations occurring when administrators were not actively using the phpMoAdmin interface
  • Referer headers in access logs showing requests to moadmin.php originating from external domains
  • Sudden disappearance of databases or collections without corresponding administrative actions logged

Detection Strategies

  • Monitor web server access logs for GET requests to moadmin.php containing sensitive action parameters
  • Implement web application firewall (WAF) rules to detect and alert on potential CSRF patterns targeting phpMoAdmin endpoints
  • Review MongoDB audit logs for database operations that do not correlate with known administrative activities
  • Deploy network monitoring to identify requests to phpMoAdmin from unexpected source IPs or with suspicious referer headers

Monitoring Recommendations

  • Enable comprehensive logging on web servers hosting phpMoAdmin instances
  • Configure alerting for any database drop, create, or repair operations through automated monitoring
  • Implement session activity monitoring to correlate administrative actions with user-initiated requests
  • Set up integrity monitoring for MongoDB database inventories to detect unauthorized modifications

How to Mitigate CVE-2019-25451

Immediate Actions Required

  • Restrict access to phpMoAdmin to trusted networks only, ideally limiting access to localhost or VPN connections
  • Implement strong authentication mechanisms and consider multi-factor authentication for phpMoAdmin access
  • Deploy a reverse proxy with CSRF protection capabilities in front of phpMoAdmin
  • Consider replacing phpMoAdmin with actively maintained MongoDB administration tools that include proper CSRF protection

Patch Information

No official patch has been identified for this vulnerability in the available CVE data. The phpMoAdmin project may be abandoned or unmaintained. Administrators should evaluate alternative MongoDB administration tools that receive regular security updates. For more information, visit the PHPMoAdmin Homepage.

Workarounds

  • Restrict network access to phpMoAdmin by binding it to localhost and using SSH tunneling for remote administration
  • Implement a web application firewall with CSRF protection rules in front of phpMoAdmin
  • Require POST requests with custom headers for all state-changing operations through a reverse proxy configuration
  • Log out of phpMoAdmin sessions immediately after use to minimize the attack window
  • Consider disabling phpMoAdmin entirely and using the MongoDB shell or other secure administration methods
bash
# Example: Restrict phpMoAdmin access to localhost only via Apache configuration
<Location /moadmin.php>
    Require local
    # Or restrict to specific IP addresses
    # Require ip 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
  • TypeCSRF

  • Vendor/TechPhpmoadmin

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/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
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • PHPMoAdmin Homepage

  • Exploit-DB #46082

  • VulnCheck Advisory on PHPMoAdmin
  • Related CVEs
  • CVE-2019-25454: phpMoAdmin XSS Vulnerability

  • CVE-2019-25453: phpMoAdmin 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