Skip to content
Business logic Disclosed report Beginner

Setting a password with a single character

The password policy claimed to reject passwords made of a single character or whitespace only, but the server still accepted a password consisting of six spaces plus one letter. An attacker could set such a weak password on an account, undermining the stated password strength rules.

footstep Follow

Originally disclosed on HackerOne

  • Triaged in 3 hours
  • Fixed in 15 hours
  • Disclosed after 23 days

Hi!,

Following my previous report, #223618, I could see that you made a change to the site which https://demo.weblate.org/accounts/password/ says

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. Your password can't consist of single character or whitespace only.

I found that it is possible to create a password with a single character

###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) and a letter included
  • You'll get a success message.

##Screenshot

Weblate_req1.png
Weblate_req1.png From the original on HackerOne
Weblate_res1.png
Weblate_res1.png

Regards, Shuaib

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 server-side password validation did not properly reject whitespace-heavy or effectively single-character passwords, even though the policy text claimed it would.

What the attacker needed

A new account; access to the email link

How it was found

  1. Create a new account.
  2. Open the link sent to the email address.
  3. Set the password to six spaces plus one letter.
  4. Observe the 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.

A website can show rules about what a password must contain, but those rules only matter if the server actually checks them. Here the page said a password cannot be just one character or only spaces, yet the server accepted a password made mostly of spaces with one letter added. That means the check was missing or incomplete on the server side.

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.