Gezinmeyi atla
HTTP is supposed to be stateless, but sometimes... it isn't!
0:00 / 3:23

HTTP is supposed to be stateless, but sometimes... it isn't!

James Kettle

@albinowax86 B takipçi

X profili
1.238 beğeniİndirOrijinal gönderi

140.310 görüntüleme

HTTP is supposed to be stateless, but sometimes... it isn't! Some servers create invisible vulnerabilities by only validating the first request on each TCP/TLS connection. I've just published a Custom Action to help you detect & exploit this - here's a narrated demo:

27 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • James Kettle profil fotoğrafı

    @albinowax

    You can install this Custom Action via the Extensibility Helper extension, or copy+paste from here: Try it out on the Academy lab here:

    53 beğeni

  • tilver profil fotoğrafı

    @tilver

    Blew up a WAF with this a long time ago. Their answer was to turn off keep-alives, but then they exempted themselves from performance metrics. Glad to hear it's still a thing.

    6 beğeni

  • Wahid Fayad profil fotoğrafı

    @0xcdn

    @PortSwiggerRes This is pretty cool. Loved the tutorial to this feature. I will try it as soon as I can. Thanks James!

    3 beğeni

  • pwd0_ls profil fotoğrafı

    @ImoJOnDz

    this kind of attack scenario has happened to me many times when I request for example /sensitivefile I initially get a 404 but if I keep sending the request multiple times I eventually get the content of the requested file I think it’s caused by some reverseproxy or loadbalancer

    3 beğeni

  • ProEvilz profil fotoğrafı

    @ProEvilz

    @rauchg would vercel be effected by attacks like this?

    2 beğeni

  • Koen profil fotoğrafı

    @koenengineering

    The AirPlay protocol also attaches state to the socket on many occasions.

    1 beğeni

  • Ricardo Iramar profil fotoğrafı

    @ricardo_iramar

    Not sure if it's just me, but it seems the "Host validation bypass via connection state attack" lab is broken.

    1 beğeni

  • James Kettle profil fotoğrafı

    @albinowax

    Make sure you don’t lose the cookies :)

    5 beğeni

  • Ricardo Iramar profil fotoğrafı

    @ricardo_iramar

    Thanks James! I was assuming that 192.168.0.1 was a totally different application.

    1 beğeni

  • James Kettle profil fotoğrafı

    @albinowax

    It is, but from the Academy front-end’s perspective it needs to know which lab instance you’re talking to and it does this via the host header or cookies. It’s basically a technical limitation.

    2 beğeni

  • Ricardo Iramar profil fotoğrafı

    @ricardo_iramar

    Got it! Thanks for the quick reply.

  • Karel Origin profil fotoğrafı

    @Karel_Origin

    I don't think this is as much validation as it is routing. A reverse proxy will likely use the initial host header to determine what the destination should be which will persist for as long as the connection is alive. However, I only see the SSRF occur in very specific scenario's: e.g. an upstream server takes arbitrary host headers but isn't bound to a known list, unlike the first proxy.

    1 beğeni

  • NIGERIA 🇳🇬 profil fotoğrafı

    @NG_maybeblessed

    The real security researchers

    1 beğeni

  • Beejaybee profil fotoğrafı

    @Beejaybee11

    This is amazing

    1 beğeni

  • Durable Disorder 🇺🇸 profil fotoğrafı

    @eM7yPKfGGCbzSJb

    Good job. Love the narration.

    1 beğeni

  • Md Maruf Hosan 🇧🇩 profil fotoğrafı

    @0xMaruf

    u should make videos like this rather than writeups.

  • the Beast profil fotoğrafı

    @Hamoon_TheBeast

    Nice trick thanks

  • Meek profil fotoğrafı

    @msakiart

    banger

  • SecInterviewHub profil fotoğrafı

    @sec_hub93028

    This is great! Thanks for sharing this.

  • 0xmaddy | Tech Adrenaline profil fotoğrafı

    @tech_maddy

    Great find on stateful validation bypass. This pattern shows up in load balancers and CDNs too. Reusing connections for exploit chaining is clever. Can help audit these if needed!