Skip to content
Info disclosure Write-up Beginner

How a Simple Profile Setting Revealed Sensitive Credentials in a Bug Bounty Program

A profile preference update request included the user's username and password in the HTTP traffic. An attacker who could observe that request, for example through interception or logging, would obtain valid credentials and could sign in as the user.

mazenrady Follow

Published on mazenrady.medium.com

.الله� انفعنا ب� ا علَّ� تنا، وعلِّ� نا � ا ينفعنا، وزِدنا عل� ًا وفقهًا وفه� ًا يا رب العال� ين

Mazen Rady, on mazenrady.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the frontend reused stored login credentials and included them in a profile preference update request instead of relying on the existing session.

Impact

Valid credentials could be exposed to anyone able to observe the request, which could lead to account compromise and exposure of personal details and order history.

What the attacker needed

A valid account; ability to intercept HTTP traffic

The fix

The application should stop sending passwords in profile update requests, remove sensitive fields from client-side requests, and rely on secure session-based authentication.

How it was found

  1. Log in to an account.
  2. Open the profile settings page.
  3. Configure Burp Suite to intercept HTTP traffic.
  4. Change the Preferred Contact Method to Email.
  5. Save the changes.
  6. Review the intercepted request and observe the credential values.

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 write-up has not been written yet. The Original tab links to the source.

When you change a setting on a website, your browser sends a request to the server. This report found that one such request for a simple profile preference also carried the user's login name and password. Anyone who could see that request, such as someone intercepting traffic, would then have the password and could log in as that user.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by mazenrady

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.