HexBrain

Brave Software · Report #369447

OPEN REDIRECTION at every 302 HTTP CODE

N/Astatus
lowseverity
4upvotes
7 Aug 2018disclosed

How it was found

#Summary i guess every 302 HTTP CODE on

https://publishers.basicattentiontoken.org possible to OpenRedirection

Steps To Reproduce:

  1. I edited the request when i got redirected from this request url

https://publishers.basicattentiontoken.org/publishers/expired_auth_token?publisher_id=587fb66a-9fdb-4419-9d05-f38ce41666ca

587fb66a-9fdb-4419-9d05-f38ce41666ca = PUBLISHER_ID

https://publishers.basicattentiontoken.org/publishers/587fb66a-9fdb-4419-9d05-f38ce41666ca

  1. Add this header to the request and page willbe direct to injectedurl

X-FORWARDED-HOST : injectedurl.com

Proof : {F310965}

Supporting Material/References:

  • BurpSuite
  • TextEditor

Impact

A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks.

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