Skip to content
Info disclosure Write-up Beginner

Finding an easy p4 bug.

The password reset link was sent over HTTP instead of HTTPS, so the reset token travelled in plaintext. An attacker who could intercept the email or network traffic could obtain the token and take over the account.

medium.com

Published on medium.com

loyalonlytoday love to share my knowledge to communitybuymeacoffee.com

loyalonlytoday, on 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 application generated the password reset URL with an http:// scheme instead of https://, so the token was sent without transport encryption.

Impact

An attacker who can intercept the plaintext link could steal the reset token and take over the account; the text does not show this being exploited in practice.

What the attacker needed

A free account; access to the victim's email or network traffic

The fix

The reset link should be generated with HTTPS instead of HTTP.

How it was found

  1. Create an account and sign out.
  2. Open the login page and click the forgotten password link.
  3. Enter your email address and request a reset link.
  4. Open the email and copy the reset link address.
  5. Paste the link into a new tab and observe that it uses HTTP.

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 forget your password, a website emails you a special link to set a new one. That link contains a secret code. If the link uses HTTP, the code is not encrypted, so anyone who can watch the network or the email can read it and use it to change your password.

What is Info disclosure?

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

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.