Skip to content
Open redirect Disclosed report Beginner

Redirection through referer tag

The subscribe endpoint on the site used the Referer header value to decide where to redirect the user after submission, so an attacker could supply any domain and send the victim there. This could be used for phishing or to point victims at a malicious page.

b341eb9552f61203c850a10 Follow

Originally disclosed on HackerOne

  • Triaged in 21 hours
  • Fixed in 33 days
  • Disclosed after 34 days

Summary:

I replaced the referer value https://stripo.email/de/ with www.google.com and it worked, it redirected me to google.com

Steps To Reproduce:

  1. Open URL https://stripo.email/de/subscribe/
  2. Intercept with BurpSuite
  3. Change the parameter value of referer and insert any domain you want it will redirect you to that page

HTTP REQUEST

POST /de/subscribe/ HTTP/1.1 Host: stripo.email X-Forwarded-Host: https://www.google.com Accept-Encoding: gzip, deflate Accept: / Accept-Language: en User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0) Connection: close Referer: https://www.google.com Content-Type: application/x-www-form-urlencoded Content-Length: 97 Cookie: XSRF-TOKEN=eyJpdiI6IjM3U1BCZzdtbENpWEc5YWNGXC81MkV3PT0iLCJ2YWx1ZSI6Ik10cWlqTGJJN0pHSitDYlhQelhVRThcL1RQYmVYVGo0XC81UWlDZU80UnhRSGRlSmtmbExqWTJjdmdNZXcyamxIdCIsIm1hYyI6ImFlNzMyN2Q1Yzk3OTg5MmJkYjU3ZDgyZjYwNTQxOGYzN2M5MTZhMWM3ZGE3OTNjYmE2MWZiM2Y4YzljZWU5NWQifQ%3D%3D; laravel_session=eyJpdiI6IkROUlwvMmlma2tmeHhkdVIzT3Y1Qmh3PT0iLCJ2YWx1ZSI6IkhRVDBScUpyVm8xRTdkUm0rNGg3RUY2ODR6azNPTTVJNjRiWFFyYlBHcW9VRE5pbjd3d2xYNEVzS1N3STFrajgiLCJtYWMiOiI5NGQxYTYyNWE3NzUxNTliYTUyMTI4MDcyZGM3YWQwYjg5ZGVhZjM0Zjk3MDY5NDdkYTVlZWI0MDkwOWVmZGJmIn0%3D

[email protected]&_token=WFCpqT3ZTAXA2fdBfdLAqsPIIVNv9bRgZBYUfsCh&source=LANDING [list any additional material (e.g. screenshots, logs, etc.)]

  • [attachment / reference]

Video File: Stripo.mkv

Impact

May Lead to Phishing attack or it may be possible that victim machine get malicious if he visited to the malicious webpage redirected by the attacker

Attachments

The original report as published on HackerOne, by b341eb9552f61203c850a10. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application trusted the client-supplied Referer header as the redirect destination without validating it against an allowlist.

Impact

An attacker could redirect victims to a phishing page or a malicious site, though the report only claims this may be possible.

What the attacker needed

Victim submits the subscribe form; attacker controls the Referer value

How it was found

  1. Open the subscribe page on the site.
  2. Intercept the request with a proxy tool.
  3. Change the referer value to any domain you choose.
  4. Submit and observe the redirect to that domain.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you submit a form, a website sometimes sends you to another page afterwards. This site chose that destination from a value the browser sends called the Referer header, which says where you came from. Because the attacker controls that value, they could make the site send people to any website they wanted, which is useful for tricking people into visiting a fake login page.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More from Stripo Inc

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.