Skip to content
DoS Disclosed report Beginner

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

The password reset endpoint accepted passwords of arbitrary length, with no maximum enforced. The reporter claims an attacker could submit very long passwords to cause a denial of service, though only a 150-character password was actually tested.

aliyugombe Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 31 days
  • Fixed in 12 months
  • Disclosed after 13 months

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

The original report as published on HackerOne, by aliyugombe. 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 reset password form and its back-end lacked any maximum length validation on the new password field.

Impact

The reporter claims an attacker could cause a denial of service by submitting very long passwords, but no crash was demonstrated and only a 150-character password was tested.

What the attacker needed

A free account; access to the reset email

The fix

The password field should enforce a maximum length, ideally under 40 characters, on both the back-end and the front-end.

How it was found

  1. Register an account on the site.
  2. Log out and start a password reset.
  3. Open the reset link from the email.
  4. Enter a 150-character password and confirm it.
  5. The account logs in successfully with that 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 set a password, a website should limit how long it can be. This site did not, so someone could send extremely long passwords. The reporter thinks that could overload the server, but they only tried a modest length and never showed a crash.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by aliyugombe

View all

13 more disclosed reports, best first.

More from MTN Group

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.