Security Resilience

CVE-2025-47947

Trustwave Modsecurity ≤ 2.9.9

Public PoC
Published
21 May 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0062 50th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-47947 is a high-severity Excessive Platform Resource Consumption within a Loop (CWE-1050) vulnerability in Trustwave Modsecurity. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 50% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-6 (Resource Availability) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's…

more

content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action. A patch is available at pull request 3389 and expected to be part of version 2.9.9. No known workarounds are available.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.003 Application Exhaustion Flood Impact
Adversaries may target resource intensive features of applications to cause a denial of service (DoS), denying availability to those applications.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-46292Same product: Trustwave Modsecurity
CVE-2025-27110Same product: Trustwave Modsecurity
CVE-2025-32907Shared CWE-1050
CVE-2025-67419Shared CWE-1050
CVE-2026-22263Shared CWE-1050
CVE-2023-1390Shared CWE-1050
CVE-2026-81736Shared CWE-1050
CVE-2026-4634Shared CWE-1050
CVE-2026-22261Shared CWE-1050
CVE-2025-48866Shared CWE-1050

Affected Assets

trustwave
modsecurity
≤ 2.9.9

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V2.4.1
  • V7.6.2
  • V15.4.3

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SA-11 developer testing can discover loops that consume platform resources before deployment.

SC-6 directly protects resource availability by enforcing allocation limits that bound consumption from faulty loops.

AC-10 caps concurrent sessions, reducing blast radius when a loop consumes session or connection resources.

SC-5 limits effects of DoS events that can result from unbounded resource consumption inside loops.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

DE.CM-09 partial match
blocks

Runtime monitoring can detect excessive resource use from loops as an adverse event.

PR.IR-04 partial match
blocks

Capacity monitoring and resource management directly limit impact of runaway consumption.

PR.PS-06 partial match
blocks

Secure SDLC practices can prevent introduction of unbounded loops during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Monitoring can alert on resource abuse but does not eliminate the coding flaw.

finds

Security testing can discover the defect but does not remove it from production code.

prevents

Training technical teams on secure coding and resource management (per A.6.3's education/training guidance) helps some developers avoid loops that exhaust platform resources, but the practice is fallible and most awareness content targets broader security responsibilities rather than this specific implementation defect, leaving the majority of instances to arise.

prevents

Secure coding standards explicitly forbid resource-consuming loops.

prevents

A.8.30 is a contractual/governance layer that requires the outsourced developer to implement secure coding (8.25-8.28) and acceptance testing (8.29); it does not itself implement those practices, so per the governance-boundary doctrine (A.5.1 -> CWE-89 = none), a clause requiring other controls does not inherit their preventive effect on a coding defect like excessive loop resource consumption.

finds

A.8.8's disclosure-based vulnerability management surfaces CWE-1050 only when it appears as a vendor-published CVE/advisory in an inventoried third-party component, leaving most first-party custom loop-resource defects undisclosed.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Oracle Linux 9 (1 partial rule)
  • V-271709 OL 9 must be configured so that all network connections associated with SSH traffic terminate after becoming unresponsive. blocks CWE-1050
RHEL 9 (1 partial rule)
  • V-257995 RHEL 9 must be configured so that all network connections associated with SSH traffic terminate after becoming unresponsive. blocks CWE-1050

References