Skip to content
Account takeover Disclosed report Beginner

████ - Complete account takeover

The password reset endpoint accepted a username and new password without any verification, allowing an attacker to overwrite any user's password. This enabled complete account takeover, exposing financial records and allowing changes to direct deposit information.

cablej_dds Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 41 hours
  • Fixed in 19 days
  • Disclosed after 12 months

Summary:

███████ ██████████ was updated today (03/04), which includes a backend rewrite. Unfortunately, the new site is insecure and allows a password to be reset given only a username. This allows access to payment records for any DoD employee given only their username, which is commonly known. Further, ███ is used to authenticate to other sites such as ██████. Thus, this allows access to the complete ████████ record and other associated information (despite ████████ stating that ██████████ login is disabled, it still works).

Impact

Trivial and complete compromise of any/all ████████ ███████ accounts, resulting in exposure and modification of sensitive financial records for all DoD civilian/military personnel. For instance, this exposes partial social security numbers, personal addresses, and pay history, and allows stealing funds by changing direct deposit information. Further, via associated sites (█████), this exposes the ██████ of all military service members.

Step-by-step Reproduction Instructions

  1. Visit https://████████/ and intercept a request to obtain valid cookies.
  2. Make the following request, replacing the cookies with your new cookies if needed:
POST /api/session/personalsettings/ForgotPasswordChangeRequest HTTP/1.1
Host: ███
Connection: close
Content-Length: 151
Accept: application/json, text/plain, */*
Origin: https://█████████
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Content-Type: application/json
Referer: https://████████/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cookie: LastMRH_Session=█████; F5_ST=██████; MRHSession=████████████████████

{"Username":"x","Password":"y","IsLimitedAccessAccount":false,"HasNagC":false,"HasNagF":false,"HasNagM":false,"HasNagN":false}
  1. Enter any user's username and a new password.
  2. Submit the request. The user's password will be overwritten to the new password, and you may now log in.
  3. Visit https://██████/milconnect/. Select to log in via █████. Despite the message saying it is disabled, edit the form via developer tools to enable both text boxes and the login button. Enter the user's credentials.
  4. The login will be successful, allowing full access to the user's ███.

Suggested Mitigation/Remediation Actions

Enforce social security number / security questions / email verification.

Impact

.

The original report as published on HackerOne, by cablej_dds. 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 reset API endpoint did not verify the requester's identity or require any proof of account ownership before changing the password.

Impact

An attacker could completely compromise any account, exposing sensitive financial records and allowing theft of funds by changing direct deposit information.

What the attacker needed

Knowledge of a username; valid session cookies

The fix

The password reset process should require additional verification such as a social security number, security questions, or email verification.

How it was found

  1. Visit the site and intercept a request to obtain valid cookies.
  2. Send a POST request to the forgot-password change endpoint with a username and new password.
  3. Submit the request, which overwrites the user's password.
  4. Log in with the new password.
  5. Visit the associated site and enable the disabled login form via developer tools.
  6. Enter the user's credentials to gain full access.

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 reset should require proof of identity, such as answering a security question or clicking a link sent to your email. Here, the website let anyone set a new password for any account just by knowing the username. That means an attacker could take over someone else's account and see or change their private information.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by cablej_dds

View all

8 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.