Breaking the Gate: Detecting Invisible Authentication Slip-Through in NGINX Reverse Proxy

Nginx serves as the authentication enforcement point for millions of web applications, yet its configuration language can silently disable authentication through cross-directive interactions among location ordering, map variable resolution, URI normalization, and per-block access controls. We identify seven classes of configuration-semantic authentication bypasses that arise from these interactions and present NginxBuster, a detection framework combining static configuration analysis with targeted active validation. NginxBuster's static analyzer models nginx's four-phase location matching algorithm to detect cross-location routing conflicts, while a configuration-aware mutation engine derives all test payloads from the target configuration's structure. A dual-baseline detection model confirms bypasses only when unauthenticated requests achieve authenticated-equivalent responses. On 20 synthetic benchmarks containing 55 planted vulnerability instances, the static analyzer detected 54 true positives with 3 false positives (precision 0.95, recall 0.98); an active scanner issuing 1.1 million mutated requests independently confirmed 44 of these as working bypasses against live nginx deployments. Five widely-used security tools tested under identical conditions detected at most one vulnerability class. On 1,344 real-world nginx configurations drawn from 10,434 configuration files collected from public GitHub repositories, NginxBuster flagged 11.8% as vulnerable; manual verification confirmed 144 of 195 vulnerability-class flags as genuine bypasses. These results demonstrate that authentication correctness is a property of the entire routing configuration, not of any individual directive, and that detecting configuration-semantic bypasses requires routing-aware analysis that no existing tool provides.

Link
https://www.semanticscholar.org/paper/7dadfd9e78b7a799810c646e81cde428e01ffe1a
Found by
Semantic Scholar
Authors
Aliakbar Sadeghi, Maryam Rostamipoor, S. Boyapati, O. Chowdhury
Categories
benchmark
Published
2026-11-14
Last seen by the radar
2026-11-15
Citations
0
Influential citations
0
Radar score
31.60 / 100 (how it is scored)
Why it scored so
Matched: benchmark; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3830454.3846523
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar