HexBrain

MTN Group · Report #1285694

No password length restriction in reset password endpoint at http://suppliers.mtn.cm

Validstatus
criticalseverity
10upvotes
5 Sept 2022disclosed

How it was found

Hello

Summary:

I found no password length restriction in reset password endpoint at http://suppliers.mtn.cm when resetting new password

Steps To Reproduce:

  1. Visit https://suppliers.mtn.cm/ and register.
  2. logout and reset your password
  3. go to your email and click on reset password link
  4. enter 150 characters as a password and confirm the characters
  5. you will successfully logged in.

Impact

Attacker can do denial of service to your server since there is no restriction in the length of password. Example when he enter like 2500 character, your server will crash for some time,

I did not attempt to ddos your server, because you exclude any activity related to denial of service to your assets, I only test for 150 character and its working.

Mitigation :

Restrict user to use less than 40 character as a password, while the restriction should be both on back-end and front-end (with javascript ).

Thank you

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original