- Status Closed
-
Assigned To
cbay - Private
Opened by shabiz - 30.11.2026
Last edited by cbay - 30.11.2026
FS#570 - Password Policy Bypass via Password Reset Functionality
Affected URL
https://security.alwaysdata.com/lostpw
Description
The password reset functionality on security.alwaysdata.com fails to enforce the application’s minimum password length requirement. During testing, I observed that the registration functionality rejects passwords shorter than 5 characters. However, the same restriction is not enforced during password recovery. By requesting a password reset link and accessing it through the registered email address, I was able to set a password containing only 2–3 characters (e.g., 123), which the server accepted successfully. This allows users to bypass the application’s defined password policy through the password reset functionality.
Steps to Reproduce
1: Navigate to the registration page and attempt to register using a password shorter than 5 characters.
2: Observe that the application rejects the password due to the minimum length requirement.
3: Navigate to https://security.alwaysdata.com/lostpw.
4: Request a password reset link using a registered email address.
5: Open the password reset link received in the email.
6: Enter a password containing only 2–3 characters (e.g., 123).
7: Submit the password reset form.
8: Observe that the server accepts the password and successfully updates the account credentials despite violating the application’s minimum password length requirement.
Impact
The inconsistent enforcement of password requirements allows users to set extremely short and easily guessable passwords through the password reset functionality. This weakens account security and increases susceptibility to password guessing, particularly for accounts without additional authentication protections.
Remediation
Enforce password policy requirements consistently across registration, password reset, and password change functionalities. Implement server-side validation to reject passwords that do not meet the application’s minimum length requirement, regardless of the method used to set or update the password. Ensure that validation is performed by the backend rather than relying solely on client-side checks, preventing users from bypassing password restrictions through alternative account recovery mechanisms.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
bandicam 2026-11-30 14-59-58-...
Hello,
You should report it to Flyspray.
Kind regards,
Cyril