IgnoreIP/IgnoreCIDR should not trust X-Forwarded-For
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-693.
Summary
NAXSI is an open-source maintenance web application firewall (WAF) for NGINX. An issue present starting in version 1.3 and prior to version 1.6 allows someone to bypass the WAF when a malicious `X-Forwarded-For` IP matches `IgnoreIP` `IgnoreCIDR` rules. This old code was arranged to allow older NGINX versions to also support `IgnoreIP` `IgnoreCIDR` when multiple reverse proxies were present. The issue is patched in version 1.6. As a workaround, do not set any `IgnoreIP` `IgnoreCIDR` for older versions.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA naxsi (wargio) Fixed in 1.6
Timeline
- 2026-10-02 Threatist record created from CVE-2023-45132
References
More wargio Naxsi vulnerabilities
- TI-2012-02910 Directory traversal vulnerability in naxsi-ui/nx_extract.py in the Naxsi module before… CVSS 2.0LOW 2.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences