Skip to content
Account takeover Disclosed report Beginner

Hyper Link Injection In email and Space Characters Allowed at Password Field.

The signup form accepted a password made only of space characters and allowed a hyperlink to be placed in the first name field, which then appeared as a clickable link in system emails. An attacker could send a phishing link inside a trusted email or brute-force accounts that used such weak passwords.

iamnot1337 Follow

Originally disclosed on HackerOne

  • Disclosed after 14 hours

Hello mongoose ,

I found that when you put email and password for signup, you can use space characters for the password which shouldn't be allowed. I also found that you can use hyperlink in First Name Field at next step when you are entering your personal information here and when you will get the first email of Welcome or a forget password request email hyperlink will be there at the Place of First name.

Prof Of Concept:

  • Sign Up Here
  • In the username Field type "www.yoursite.com" and Fill the Rest of the Form like Email and etc.
  • In the Password Field type 8 Space Bars which means 8 space characters.
  • Click Register.
  • You will now receive a email to confirm your email which will have the Hyper Link "www.yoursite.com".

What can Hacker Do?

Now with the above bugs a hacker could create a profile using victim's Email and put a link to his phishing site at the first name and he create a account and there will be a email sent to victim's email id using your system. Victim will open your email as it is from a trustful source and might click the phishing link.

A hacker can also Brute Force your password as it is very weak and fully takeover any user that have created an account using space characters.

Regards, Ali Ashber

The original report as published on HackerOne, by iamnot1337. 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 first name field was not sanitised before being placed into email templates, and the password policy did not reject whitespace-only passwords.

Impact

An attacker could send a phishing link inside a trusted system email, and accounts with space-only passwords could be brute-forced and taken over.

What the attacker needed

Ability to register an account; victim receives a system email

How it was found

  1. Open the registration page and fill in the form.
  2. Enter a website address in the first name field.
  3. Enter eight space characters as the password.
  4. Submit the registration.
  5. Open the confirmation email and see the website address rendered as a hyperlink.

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 stores your name and shows it in emails it sends you. This report says the site did not clean up the name, so a web address typed there became a clickable link in those emails. It also let people pick a password made only of spaces, which is very easy to guess.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More from Phabricator

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.