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-2025-47947

CVE-2025-47947: Trustwave ModSecurity DoS Vulnerability

CVE-2025-47947 is a denial of service vulnerability in Trustwave ModSecurity affecting versions up to 2.9.8. It occurs when processing application/json payloads with sanitiseMatchedBytes rules, allowing DoS attacks.

Updated: January 22, 2026

CVE-2025-47947 Overview

CVE-2025-47947 is a Denial of Service (DoS) vulnerability affecting ModSecurity, an open source, cross-platform web application firewall (WAF) engine for Apache, IIS, and Nginx. The vulnerability occurs when processing JSON payloads under specific rule configurations, potentially allowing remote attackers to disrupt the availability of protected web applications.

Critical Impact

Remote attackers can cause denial of service conditions on web servers protected by vulnerable ModSecurity instances by sending specially crafted JSON payloads, potentially bypassing WAF protection and disrupting service availability.

Affected Products

  • Trustwave ModSecurity versions up to and including 2.9.8
  • ModSecurity deployments on Apache web servers
  • ModSecurity deployments on IIS and Nginx web servers

Discovery Timeline

  • 2025-05-21 - CVE-2025-47947 published to NVD
  • 2025-06-20 - Last updated in NVD database

Technical Details for CVE-2025-47947

Vulnerability Analysis

This vulnerability is classified under CWE-1050 (Excessive Platform Resource Consumption within a Loop). The flaw manifests when ModSecurity processes HTTP requests with a content type of application/json while at least one active rule utilizes the sanitiseMatchedBytes action. Under these specific conditions, the WAF engine enters a resource-intensive processing state that can be exploited to exhaust system resources and cause a denial of service condition.

The vulnerability requires no authentication or user interaction to exploit, making it particularly dangerous for internet-facing web applications relying on ModSecurity for protection. An attacker can remotely trigger the vulnerable code path by crafting malicious JSON payloads and sending them to any endpoint protected by an affected ModSecurity instance with the requisite rule configuration.

Root Cause

The root cause lies in the interaction between JSON payload processing and the sanitiseMatchedBytes action within ModSecurity's rule engine. When these two conditions are met simultaneously, the processing logic fails to properly manage resource consumption, leading to excessive CPU or memory usage that can overwhelm the system. This represents a flaw in how the WAF handles the sanitization operation specifically for JSON content types.

Attack Vector

The attack vector is network-based and can be executed remotely without any privileges or user interaction. An attacker exploits this vulnerability by:

  1. Identifying a web application protected by ModSecurity versions 2.9.8 or earlier
  2. Determining that the ModSecurity configuration includes rules with the sanitiseMatchedBytes action
  3. Crafting HTTP requests with Content-Type: application/json headers containing payloads designed to trigger the vulnerable code path
  4. Sending repeated requests to exhaust server resources and cause denial of service

The vulnerability specifically targets the JSON parsing and sanitization workflow, making it a targeted attack against WAF functionality rather than the underlying web application.

Detection Methods for CVE-2025-47947

Indicators of Compromise

  • Unusual increase in HTTP requests with Content-Type: application/json headers from single or distributed sources
  • Elevated CPU or memory consumption on web servers running ModSecurity
  • ModSecurity error logs showing abnormal processing times for JSON payloads
  • Service degradation or unresponsiveness of web applications protected by ModSecurity

Detection Strategies

  • Monitor web server performance metrics for sudden spikes in resource utilization correlating with JSON request processing
  • Implement rate limiting on endpoints that commonly receive JSON payloads
  • Analyze ModSecurity audit logs for patterns indicating exploitation attempts against the sanitization functionality
  • Deploy network-level monitoring to identify suspicious bursts of JSON-formatted requests

Monitoring Recommendations

  • Configure alerting thresholds for ModSecurity processing latency on JSON content types
  • Enable detailed logging for rules utilizing the sanitiseMatchedBytes action
  • Implement application performance monitoring (APM) to detect service degradation patterns
  • Review ModSecurity audit logs regularly for anomalous request patterns

How to Mitigate CVE-2025-47947

Immediate Actions Required

  • Audit ModSecurity configurations to identify rules using the sanitiseMatchedBytes action
  • Implement network-level rate limiting for JSON payloads as a temporary protective measure
  • Monitor systems for signs of active exploitation
  • Plan upgrade path to ModSecurity version 2.9.9 when released

Patch Information

A fix has been developed and is available in ModSecurity Pull Request 3389. The patch is expected to be included in ModSecurity version 2.9.9. Organizations should monitor the GitHub Security Advisory GHSA-859r-vvv8-rm8r for release announcements and apply the update as soon as it becomes available.

Workarounds

  • No official workarounds are available according to the vendor advisory
  • As a temporary measure, consider temporarily disabling rules that use sanitiseMatchedBytes action if operationally feasible
  • Implement upstream rate limiting or WAF rules to restrict JSON request volume
  • Consider deploying additional DDoS protection layers while awaiting the official patch
bash
# Check ModSecurity version
modsecurity -v

# Search for rules using sanitiseMatchedBytes action
grep -r "sanitiseMatchedBytes" /etc/modsecurity/

# Review active ModSecurity rules for potential impact assessment
cat /var/log/modsec_audit.log | grep "sanitiseMatchedBytes"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechModsecurity

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1050
  • Vendor Resources
  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-52891: ModSecurity WAF DoS Vulnerability

  • CVE-2025-48866: OWASP ModSecurity 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