Skip to content
Open redirect Disclosed report Beginner

Registeration Link "Jacking&Redirecting"

The registration form's sub_link parameter was used to build the email verification link without validation, so an attacker could set it to an external site. The victim would receive a legitimate company email whose verification link pointed to the attacker's site, allowing the attacker to redirect the user or capture the verification code.

raad_ Follow

Originally disclosed on HackerOne

  • Triaged in 6 days
  • Fixed in 48 days
  • Disclosed after 49 days

Hello Team , i found dangerous issue in your register application , once i tried to register , the request was like that :


POST /portal/register/ HTTP/1.1
Host: sandbox.veris.in
User-Agent: [[My 'User-Agent' Details]]
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: https://sandbox.veris.in/portal/register/
Content-Length: 1139
Cookie: csrftoken=[[CSRF]]
Connection: close

csrfmiddlewaretoken=[[CSRF]]&email=[[registered Email]]&g-recaptcha-response=[[reCaptcha]]&sub_link=----------->portal%2Fverify-email<--------------


~~~~~~~

when i edited the "sub_link" parameter with another website , ex : "example.com" .

it sends to the [[registered Email]] to verify his/her account . i realized that the link was edited to be like this :

http://example.com/registered@Email/verification/code/ !!!

user will be redirected to evil website that comes from YOUR COMPANY email telling the user to continue the registeration process .

some Evil-Hacker can do Evil-Things , like :
1) redirect to Evil Page , includes some Evil codes !
2) redirect to his OWN website , listening on port , jacking the verification code !
3) force the user with "Social Engineering" tricks to change his/her account details from Evil-Hacker website . 
and much more ...

The original report as published on HackerOne, by raad_. 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 used the user-supplied sub_link parameter directly when constructing the verification URL in the email, without validating that it was a safe internal path.

Impact

An attacker could redirect the victim to a malicious site or capture the verification code, and could use social engineering to trick the user into changing account details.

What the attacker needed

Attacker can submit a registration request; victim receives and clicks the verification email

How it was found

  1. Submit a registration request and observe the sub_link parameter.
  2. Change the sub_link value to an external website.
  3. The victim receives a verification email containing a link built from the modified value.

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 sign up, the site sends you an email with a link to confirm your address. The site was putting a value from the sign-up form into that link without checking it, so an attacker could make the link point to their own website. The victim would then click a link in a real company email and end up on the attacker's 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 Veris

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.