News for hackers. Stuff that matters.
Re:HTTP headers we don't want by yongjik on Tuesday May 15, 2018 @06:16PM (#17078389)
I still feel like I'm missing something, because it sounds like "If an attacker can rewrite your configuration inside CDN, bad things will happen."

I mean, Via might be useful as a safety check against mistake, but I'm not getting the security angle.

Re:HTTP headers we don't want by jessaustin on Tuesday May 15, 2018 @06:52PM (#17078611)
The threat is a DOS against a group of CDNs as a whole. Particular CDN customers are only vulnerable to the extent that they require an affected CDN's services. If the CF link isn't clear, click through to the paper they reference:

http://www.icir.org/vern/papers/cdn-loops.NDSS16.pdf

Re:HTTP headers we don't want by dingaling on Wednesday May 16, 2018 @01:52AM (#17080275)
But that's all delicately balanced on trusting the Via headers. If you are under attack from someone malicious then that seems unwise.

It's like relying on the From: header in an e-mail.

Re:HTTP headers we don't want by zaarn on Thursday May 17, 2018 @04:00AM (#17089610)
That's not the point here. It's an adversary getting two CDNs to loop eachother and launching an attack that way.

If CDN A proxies requests to CDN B and CDN B proxies requests to CDN A then those two will DoS eachother fairly quickly.

There is no attacker inbetween to strip the Via, that would be counterproductive to the attack.

Email has this too; the Received: header. If you manage to get a loop between two MTAs going they will detect it by seeing themselves in the Received: header list.

Re:HTTP headers we don't want by jessaustin on Wednesday May 16, 2018 @10:58AM (#17082914)
If other CDNs are removing your Via header, then other CDNs are the adversary, but now we're in Crazy Town because in that case they are DOSing themselves as much as they are DOSing you. The threat discussed here is from malicious CDN customers.
Re:HTTP headers we don't want by AstralStorm on Wednesday May 16, 2018 @03:46AM (#17080677)
The proper check is in routing tables and/or firewalls.
Re:HTTP headers we don't want by parenthephobia on Wednesday May 16, 2018 @08:34AM (#17081853)
> If you are under attack

If. Much, if not most, server software is written under the implicit assumption that it will not be under attack.

Re:HTTP headers we don't want by meowface on Wednesday May 16, 2018 @01:13PM (#17084223)
But these particular Via headers are applied by the CDNs, not by an end user.