CVE-2023-45132CWE-693

IgnoreIP/IgnoreCIDR should not trust X-Forwarded-For

Critical · published October 11, 2023

CVSS v3.1
9.1
EPSS
1%
Percentile
62.0
In the wild
Unconfirmed
What it is

🚨 An unsuspecting bypass is lurking in the shadows! This vulnerability in NAXSI could allow attackers to slip past your defenses if they play their cards right with the `X-Forwarded-For` header. 🔥 Think of it like a bouncer at a club who lets in anyone with a VIP pass, but doesn't check if the pass is fake—if the right 'name' matches, in they go! An attacker could gain unauthorized access to your network by bypassing the web application firewall, leading to potential data breaches, manipulation of data, or even a complete takeover of web applications. This could have absolutely devastating consequences for your organization's security and reputation.

Put simply

Think of it like a bouncer at a club who lets in anyone with a VIP pass, but doesn't check if the pass is fake—if the right 'name' matches, in they go! This issue arises from a flaw in NAXSI that allows an attacker to match their malicious `X-Forwarded-For` IP against `IgnoreIP` or `IgnoreCIDR` rules, effectively bypassing the WAF. This mechanism could be exploited due to older code compatibility with previous NGINX versions.

What to do

An attacker could gain unauthorized access to your network by bypassing the web application firewall, leading to potential data breaches, manipulation of data, or even a complete takeover of web applications. This could have absolutely devastating consequences for your organization's security and reputation. Immediately upgrade NAXSI to version 1.6 or later to patch the vulnerability. If upgrading isn't feasible, avoid configuring any `IgnoreIP` or `IgnoreCIDR` rules in older versions to mitigate the risk. Regularly review your WAF configurations to ensure they're secure. You've got this! Follow these steps, and you'll fortify your defenses in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00985 · 62.0th percentile
Weakness
CWE-693 · Protection Mechanism Failure
Published
2023-10-11T20:21Z
EPSS history
Timeline
  • 11 OCT 20:21Z
    IgnoreIP/IgnoreCIDR should not trust X-Forwarded-For
    cvelistv5