CVE-2023-45132
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.80%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.80% probability · 55th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-693
- Affected
- wargio/naxsi
- Source
- security-advisories@github.com
References
- https://github.com/wargio/naxsi/commit/1b712526ed3314dd6be7e8b0259eabda63c19537Patch
- https://github.com/wargio/naxsi/pull/103Patch
- https://github.com/wargio/naxsi/security/advisories/GHSA-7qjc-q4j9-pc8xThird Party Advisory
- https://github.com/wargio/naxsi/commit/1b712526ed3314dd6be7e8b0259eabda63c19537Patch
- https://github.com/wargio/naxsi/pull/103Patch
- https://github.com/wargio/naxsi/security/advisories/GHSA-7qjc-q4j9-pc8xThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.