9.1critical
IgnoreIP/IgnoreCIDR should not trust X-Forwarded-For
- Severity
- 9.1critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.98% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| wargio naxsi | >= 1.3, < 1.6, from 1.3 before 1.6 | CVE List, NVD |
All scores
| GitHub_M | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
NAXSI es un firewall de aplicaciones web (WAF) de mantenimiento de código abierto para NGINX. Un problema está presente a partir de la versión 1.3 y anteriores a la versión 1.6 permite que alguien omita el WAF cuando una IP maliciosa `X-Forwarded-For` coincide con las reglas `IgnoreIP` `IgnoreCIDR`. Este código antiguo se organizó para permitir que las versiones anteriores de NGINX también admitieran `IgnoreIP` `IgnoreCIDR` cuando había varios servidores proxy inversos presentes. El problema se solucionó en la versión 1.6. Como workaround, no configure ningún `IgnoreIP` `IgnoreCIDR` para versiones anteriores.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-45132 changed 2024-09-17 | CVE Terms of Use |
| NVD | CVE-2023-45132 changed 2026-06-17 | Public domain |