Skip to content
Business logic Disclosed report Beginner

Profile fields validation bypass

The profile update form required first and last name to be filled together, but submitting both fields blank still allowed the profile to be saved with an empty full name. An attacker could therefore set their display name to blank, bypassing the intended validation.

princesinha Follow

Originally disclosed on HackerOne

  • Fixed in 4 hours
  • Paid in 4 hours
  • Disclosed after 31 days

Hello I recently found a bug that without entering First and Last name the profile got updated, means a user can able to put his/her full name blank. In your website there is a validation for first and last name. If a user fill the first name then he has to fill the last name too and vice-versa but if he put both the field blank then he can update his profile and put his full name blank. POC is attached with this report. Thank you Regards Prince Sinha

Attachments

The original report as published on HackerOne, by princesinha. 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 validation only enforced that first and last name were filled together, without also requiring at least one of them to be non-empty.

Impact

A user could save a profile with no name.

What the attacker needed

A user account

The fix

The validation should also reject submissions where both names are empty.

How it was found

  1. Open the profile edit page.
  2. Leave both the first name and last name fields blank.
  3. Submit the profile update.
  4. Observe that the profile is saved with an empty full name.

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 usually checks that certain fields, like your first and last name, are filled in before saving your profile. Here, the check only worked if you filled one of them; leaving both empty slipped past the check. This let a user save a profile with no name at all.

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 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.