Skip to content
Business logic Disclosed report Beginner CVE-2022-3326

rdiffweb vulnerable to password complexity bypass leading to weak passwords

rdiffweb's password policy checked only length, not entropy, so a user could set a password made entirely of spaces. This let users bypass complexity requirements and choose weak passwords.

ikus060/rdiffweb

Originally disclosed on huntr

ikus060/rdiffweb prior to 2.4.9 allows a user to set there password to all spaces. While rdiffweb has a password policy requiring passwords to be between 8 and 128 characters, it does not validate the password entropy, allowing users to bypass password complexity requirements with weak passwords. This issue has been fixed in version 2.4.9. No workarounds are known to exist.

From the GitHub Advisory Database (GHSA-8wxf-c45w-g66g, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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

The password policy validated only the length of the password and did not check its entropy or character variety.

Impact

A user could set an all-space password, weakening account security and making the account easier to compromise.

What the attacker needed

Ability to set or change a password

The fix

The issue was fixed in version 2.4.9.

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 password policy is meant to stop people choosing easy-to-guess passwords. Here the software only counted how many characters the password had, so a password of eight spaces passed the check even though it is trivially weak. An attacker who guessed such a password could log in as that user.

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 ikus060/rdiffweb

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.