HexBrain

HackerOne · Report #409370

Denial of service via cache poisoning

Validstatus
mediumseverity
$2,500bounty
253upvotes
22 Dec 2018disclosed

How it was found

An attacker can persistently block access to any/all redirects on www.hackerone.com by using cache poisoning with the X-Forwarded-Port or X-Forwarded-Host headers to redirect users to an invalid port.

To replicate: curl -H 'X-Forwarded-Port: 123' https://www.hackerone.com/index.php?dontpoisoneveryone=1 Then try to load https://www.hackerone.com/index.php?dontpoisoneveryone=1 in your browser.

This attack can also be done using the X-Forwarded-Host header: curl -H 'X-Forwarded-Host: www.hackerone.com:123' https://www.hackerone.com/index.php?dontpoisoneveryone=1

For more information on the theory behind this attack, check out https://portswigger.net/blog/practical-web-cache-poisoning

Impact

An attacker can persistently block access to any/all redirects on www.hackerone.com

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original