News for hackers. Stuff that matters.
Re:Slack account takeovers using HTTP Request Smuggling by judge2020 on Friday March 13, 2020 @12:08PM (#22568404)
Regarding Cloudflare/fastly, you do need to make sure you're only allowing requests that originate from the proxy, either via IP-based firewall rules or something like CF's authenticated origin pulls [0]. Otherwise someone could find your origin server's IP and potentially perform this attack (and generally bypass your security settings).

0: https://support.cloudflare.com/hc/en-us/articles/204899617-A...

Re:Slack account takeovers using HTTP Request Smuggling by tialaramex on Friday March 13, 2020 @12:22PM (#22568546)
Allowing Connections to your backend directly might make you vulnerable to certain types of attack but it doesn't impact Request Smuggling.

The trick in Request Smuggling is that you're trusting an intermediary (in this case a frontend reverse proxy) to mingle everybody's requests into a single pile for you to process and they don't agree with you about how to do this. Chuck thus gets to submit a request which is mingled with Alice's and you end up letting Chuck modify Alice's request. Oops.

But Chuck sending requests directly to your backend doesn't allow him to do this. You're definitely not going to think Chuck's weird garbled nonsense is part of Alice's request when it isn't even on the same TLS connection.

Re:Slack account takeovers using HTTP Request Smuggling by ckuehl on Friday March 13, 2020 @01:23PM (#22569081)
Also keep in mind that if you use IP-based whitelisting, an attacker can register their own CF/Fastly account and target your origin server with whatever CDN settings they want (assuming they can discover your origin server). With Fastly at least you can even do this from the free tier.
Re:Slack account takeovers using HTTP Request Smuggling by jaywalk on Friday March 13, 2020 @02:05PM (#22569439)
Took me a second to wrap my head around what you were saying, so I'll point it out: they'd be pointing their CDN account to your origin server, and making requests through it.
Re:Slack account takeovers using HTTP Request Smuggling by judge2020 on Friday March 13, 2020 @02:27PM (#22569650)
Same for Cloudflare - to mitigate this your server should only respond to the correct HOST header for your website.