Skip to content
Business logic Disclosed report Beginner

Null Password - Setting a new password doesn't check for empty spaces

The password change form accepted a password made only of six space characters, despite its stated rules requiring at least six characters and rejecting common or numeric passwords. An attacker could set such a weak password, though the report does not show any further exploitation.

footstep Follow

Originally disclosed on HackerOne

  • Triaged in 5 hours
  • Fixed in 6 hours
  • Disclosed after 23 days

Hi Again!

As seen your website at https://demo.weblate.org/accounts/password/

Your password can't be too similar to your other personal information. Your password must contain at least 6 characters. Your password can't be a commonly used password. Your password can't be entirely numeric.

I found that it is possible to create a password with empty spaces, not useful anyway but renders the password security weak.

##Reproduction Steps

  • Create a new account
  • Load the link sent to your mail
  • Now, set password to six spaces (tapping the space bar 6 times)
  • You'll get a success message

##Screenshots Here are screenshots confirming the vulnerability

Weblate_req.png
Weblate_req.png From the original on HackerOne
Weblate_req.png
Weblate_req.png

Regards, Shuaib

Attachments

Weblate_res.png
Weblate_res.png From the original on HackerOne

The original report as published on HackerOne, by footstep. 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 password validation only checked length and character type, without rejecting whitespace-only passwords or trimming spaces before validation.

Impact

The password policy could be bypassed to set a very weak password, potentially making accounts easier to compromise, though the report does not demonstrate any actual account takeover.

What the attacker needed

A new account; access to the email link

The fix

The report does not propose a fix; a sensible fix would be to reject whitespace-only passwords.

How it was found

  1. Create a new account
  2. Load the link sent to your mail
  3. Set the password to six spaces
  4. Observe a success message

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 set a password, websites usually check it meets rules like being long enough. Here, the check counted spaces as valid characters, so a password of just spaces was accepted. This makes the account easier to guess or break into, but the report does not show anyone actually doing that.

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 footstep

View all

23 more disclosed reports, best first.

More from Weblate

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.