Passwords Returned in Later Responses.
The application returned the password entered during a staff invitation signup in clear text in later server responses. An attacker who gains access to those responses through other vulnerabilities could retrieve user passwords.
Originally disclosed on HackerOne
- Triaged in 9 hours
- Fixed in 34 hours
- Disclosed after 35 hours
Summary by the program
In a signup form, the password entered would be reflected back in the server's response. It's a best practice not to put passwords into responses.
The report
Passwords submitted to the application are returned in clear form in later responses from the application. This behavior increases the risk that users' passwords will be captured by an attacker. Many types of vulnerability, such as weaknesses in session handling, broken access controls, and cross-site scripting, would enable an attacker to leverage this behavior to retrieve the passwords of other application users. This possibility typically exacerbates the impact of those other vulnerabilities, and in some situations can enable an attacker to quickly compromise the entire application.
Proof Of Concept:
- Login into your online shop.
- Add any staff member.
- An invitation mail is send towards the person to whom you wanted to added.
- When you click on the confirmation mail. A new link is generated who sends you to some another page.
- Fill the complete form there.
- Submit the Form.
- You'll see the complete password are submitted in clear test in later responses.
PFA, the attached Video PoC for the same and the screenshot
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 application includes the submitted password in the response body instead of omitting or masking it.
Impact
This behaviour could allow an attacker to retrieve passwords if combined with other vulnerabilities such as session handling weaknesses, broken access controls, or cross-site scripting, potentially leading to full application compromise.
What the attacker needed
Access to the signup form; ability to view server responses
The fix
The application should not include passwords in any response; it should omit or mask them.
How it was found
- Log in to the online shop.
- Add a staff member.
- An invitation email is sent to the invited person.
- Click the confirmation link in the email, which leads to another page.
- Fill in the complete form on that page.
- Submit the form and observe the password in clear text in the response.
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 fill in a form, the website sometimes sends back what you typed. Here, the website sent back the password you chose, in plain text, in its response. That means anyone who can see those responses (for example, through another security hole) could read the password.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.