CVE-2023-45132 IgnoreIP/IgnoreCIDR should not trust X-Forwarded-For
Attackers can bypass the NAXSI web application firewall by spoofing the X-Forwarded-For header to match trusted IP rules.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-45132?
CVE-2023-45132 is a critical vulnerability in wargio naxsi, published on 11 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-693
Which versions are affected by CVE-2023-45132?
It affects 1 product.
Products include Wargio Naxsi.
How do I fix CVE-2023-45132?
No fix has been published for CVE-2023-45132 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-45132 being exploited?
There is no known exploitation of CVE-2023-45132 in the wild and no public exploit code.
Other vulnerabilities in wargio naxsi
Sources
Also known as GHSA-7qjc-q4j9-pc8x.