Skip to content
Account takeover Disclosed report Beginner

Name can't be numbers or email

The registration form accepts numbers or email addresses in the first and last name fields without validation. The reporter claims this could make it easier for an attacker to compromise an account, though no concrete attack is demonstrated.

swag01 Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 6 hours

Hi Team, I observe a strange behaviour in your registration form. When we are making account and entering the first and last name. According to security concerns you should force user to write their first and last names which actually looks like name for example your should force users that the first and last name should be alphabets like "Husnain Iqbal" It cant be a number or email. I noticed that in other websites show error if you written a number or email in first name or last name. so the thing is you also should error when a user enter a number or email in first name and last name for security reasons.

Reproduce steps:

  1. Go to registration Form
  2. Fill first name with 101001010 or [email protected] and last name like 101011991 or [email protected]
  3. Then fill the other fields of the registration form .
  4. Then click register and the account will successfully made.

Poc:

For Proof of concept i am attaching some screen shots. you can look at it.

Recommendation:

Account Name Cant be numbers or email for security purposes. If a user enters an email in his name by which he/she is getting registered so it is easy for hacker to compromise the account.

Attachments

Untitled.png
Untitled.png From the original on HackerOne
Untitled2.png
Untitled2.png

The original report as published on HackerOne, by swag01. 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 registration form does not validate that the first and last name fields contain only letters.

Impact

The reporter asserts this could make it easier for an attacker to compromise an account, but no actual attack or exploit is shown.

What the attacker needed

Access to the public registration form

The fix

The form should reject numbers and email addresses in the first and last name fields, though the text does not say whether this was fixed.

How it was found

  1. Open the registration form.
  2. Enter digits or an email address in the first and last name fields.
  3. Fill in the remaining registration fields.
  4. Submit the form and the account is created.

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.

A website form should check that what you type makes sense for the field. Here, the name fields accept things that are not names, like digits or an email address. The reporter worries this could help someone attack accounts, but does not show how.

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 by swag01

View all

1 more disclosed report, best first.

More from Legal Robot

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.