Unexpected Response Injection in ModSecurity-nginx
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Confronta i commit di ModSecurity-nginx ef64996aedd4bb5fa1831631361244813d48b82f e 62639fa2be3839e14e284d13c16516889feb8afb, quindi esamina le modifiche alla gestione delle risposte nel repository ModSecurity-nginx. Riproduci il problema scaricando un file tramite il reverse proxy Nginx e confrontando i checksum MD5 del client e del server; l'attività è completata quando le risposte sono invariate rispetto ai dati del server.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I am encountering unexpected behavior when using ModSecurity-nginx with a specific commit of the ModSecurity-nginx repository.
Starting from commit 62639fa2be3839e14e284d13c16516889feb8afb (dated June 18, 2024),
I noticed that ModSecurity began injecting unexpected data into the response.
This issue was not present in commit ef64996aedd4bb5fa1831631361244813d48b82f (dated May 23, 2024), which was the last working version for me.
My build script use these repositories
NGINX_REPO="https://github.com/nginx/nginx.git"
MODSECURITY_REPO="https://github.com/SpiderLabs/ModSecurity.git"
MODSECURITY_NGINX_REPO="https://github.com/SpiderLabs/ModSecurity-nginx.git"
MODSECURITY_NGINX_TARGET_COMMIT="ef64996aedd4bb5fa1831631361244813d48b82f"
CORERULESET_REPO="https://github.com/coreruleset/coreruleset.git"
Starting from commit 62639fa2be3839e14e284d13c16516889feb8afb,
I noticed that websites behind the reverse proxy began returning unexpected/random
characters in the response.
I attempted to download a file, such as example.com/test.png, through the reverse proxy.
When I compared the MD5 checksum of the file downloaded on the client versus the file on the server, the checksums did not match.
This issue does not occur with commit ef64996aedd4bb5fa1831631361244813d48b82f.
This indicates that something introduced in commit 62639fa2be3839e14e284d13c16516889feb8afb is modifying or injecting data into the responses.
I’m not very experienced with reporting issues, but I want to ensure this is as helpful as possible.
if there’s anything specific you need from me—logs,
configurations, or additional details—please let me know,
and I’ll be happy to provide them.
- Lingua principale
- Perl
- Stelle
- 1.9k
- Fork
- 311
- Merge medio
- 7h 5m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di owasp-modsecurity/ModSecurity-nginx
-
Possible dereference of NullAperta:1st_place_medal: good first issue enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
owasp-modsecurity/ModSecurity-nginx#359 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
owasp-modsecurity/ModSecurity-nginx#400 · 2 commenti ·
-
Module logs version of libmodsecurity headers it was built against, not dynamically linked versionAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
owasp-modsecurity/ModSecurity-nginx#383 · 1 commento ·
Tutte le issue di owasp-modsecurity/ModSecurity-nginx
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
GothenburgBitFactory/tw.org#1471 · 1 commento ·
-
✏️ Editing - Tags
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
openfoodfacts/openfoodfacts-server#15127 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
FIDO2 (ecdsa-sk / ed25519-sk) ingress keys rejected: missing in get_supported_ssh_algorithms_listAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ovh/the-bastion#695 ·
-
Range length wrong when an abbreviated range end contains a 0 (`pages = {315-20}` gives `\range{pages}{11}`)Forse già presa @plk l’ha presa 2 giorni fa. ApertaBug fixedindev
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100