Skip to content
Business logic Disclosed report Beginner

Week Passwords generated by password reset function

The password reset function generates temporary passwords that contain only alphanumeric characters, and the application allows users to set their previous password as the new password. An attacker could carry out a brute force attack against the password-based authentication mechanism.

tp9222 Follow

Originally disclosed on HackerOne

  • Triaged in 6 days
  • Fixed in 3 months
  • Disclosed after 4 months

Summary:

Assessor observed that password reset function generates only alphanumeric passwords that is passwords don't contain any special characters Also User can set old password as new password.

Steps To Reproduce:

Goto https://mycontract.mtn.co.za/landing/landing.htm Click forget password link select email radio button and enter user ID press submit

Application will send email with week password

upon entering temporary password application ask user to set new password here user can enter his immediate used password

Supporting Material/References:

https://www.owasp.org/index.php/Authentication_Cheat_Sheet https://www.owasp.org/index.php/Top_10-2017_A3-Sensitive_Data_Exposure

Remediation: Application should generate secure passwords thats password should contain alphanumeric characters as well as special characters Application should not allow user to set previously used 5 password as new password

Impact

Impact

Brute force attack can be carried out on the password based authentication mechanism

Attachments

password_reset_not_secure.jpg
password_reset_not_secure.jpg From the original on HackerOne

The original report as published on HackerOne, by tp9222. 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 generation routine uses a limited character set and the password change policy does not enforce complexity or prevent reuse.

Impact

Brute force attacks could be carried out against the password-based authentication mechanism.

What the attacker needed

Access to the password reset function; a valid user ID or email

The fix

The application should generate passwords that include both alphanumeric and special characters, and it should prevent users from reusing any of their previous five passwords.

How it was found

  1. Go to the login page and click the forget password link.
  2. Select the email option and enter a user ID, then submit.
  3. The application sends an email containing a temporary password.
  4. After entering the temporary password, the application asks the user to set a new password.
  5. The user can enter their immediately previous password as the new password.

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 forget your password, a website often emails you a temporary one. This report says those temporary passwords are too simple (only letters and numbers, no symbols), and the site also lets you reuse your old password. That makes it easier for someone to guess passwords by trying many combinations, which is called a brute force attack.

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 MTN Group

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.