CVE-2023-45132

IgnoreIP/IgnoreCIDR should not trust X-Forwarded-For

State
Published
Severity
9.1 Critical
Published
Oct 11, 2023
Updated
Sep 17, 2024
Reserved
Oct 4, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HGitHub_M

Weaknesses

  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
naxsiwargio
  • >= 1.3, < 1.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.