Skip to content
Business logic Disclosed report Beginner

Lack of input validation in e-mail & user name, job title, company name field

The sign-up form accepted an email address containing characters that Gmail does not allow, and still sent a verification email to it. The name, job title and company name fields also accepted special characters without validation.

smziaurrashid Follow

Originally disclosed on HackerOne

  • Disclosed after 17 hours

Hi, During sign up input validation didn't deploy properly on e-mail & name field. I've tested inputing following e-mail during sign up: hacker~%@gmail.com Your system send email to verification the account though the e-mail address is invalid as gmail doesn't allow user to sign up using special characters like %,~ etc.

Screenshot_2017-07-30-15-37-56.jpg
Screenshot_2017-07-30-15-37-56.jpg From the original on HackerOne

Another issue is during sign up name field & from account profile edit option name feild, job title, company name field also failed to validate user input and accept special characters like $, %, ~,!,{} . I've tested this using my account [email protected]

Screenshot_2017-07-30-15-55-00.jpg
Screenshot_2017-07-30-15-55-00.jpg From the original on HackerOne
Screenshot_2017-07-30-15-55-08.jpg
Screenshot_2017-07-30-15-55-08.jpg

Hope you'll deploy a quick fix. I look forward to hear backck from you, thank you!

The original report as published on HackerOne, by smziaurrashid. 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 relied on client-side or missing server-side validation for the email and profile text fields.

Impact

An attacker could register with malformed email addresses and store special characters in profile fields.

What the attacker needed

Access to the sign-up form; a user account for profile editing

The fix

The application should validate email format and restrict special characters in profile fields.

How it was found

  1. Enter an email address containing special characters such as a tilde and percent sign during sign-up.
  2. Observe that the system sends a verification email to that invalid address.
  3. Edit the profile name, job title and company name fields and enter special characters.
  4. Observe that the fields accept the special characters without validation.

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.

Input validation means checking what a user types into a form before accepting it. Here the sign-up form did not check the email address properly, and profile fields accepted unusual characters.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by smziaurrashid

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.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.