Skip to content
Account takeover Write-up Beginner

p4 Bug And Poc Part 6

The article describes two low-severity issues: a password reset token that remains valid after use, and a site that does not enforce HTTPS. An attacker with access to a reset token could repeatedly reset the victim's password, and a network attacker could intercept credentials sent over plain HTTP.

Abhijeet kumawat Follow

Published on infosecwriteups.com

I’m Abhijeet Kumawat — a passionate bug bounty hunter 🕵️‍♂️ and security researcher 🛡️. I love sharing my knowledge and experiences in bug bounty hunting and penetration testing, and today, I’m thrilled to kick off a new blog series focusing on P4 bugs! 🎉

Abhijeet kumawat, on infosecwriteups.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

Impact

An attacker who gains access to a user's reset token could repeatedly reset the victim's password, potentially leading to account takeover; plain HTTP sites expose login credentials to interception on public networks.

What the attacker needed

Access to the victim's reset token; victim uses a public network for HTTP issue

The fix

The application should invalidate reset tokens immediately after first use and enforce HTTPS for all connections.

How it was found

  1. Open the website and go to the Forgot Password page.
  2. Enter your email and receive a reset link.
  3. Change your password using the reset link.
  4. Reuse the same link to change the password again.
  5. Observe that the link still works multiple times.

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.

A password reset token is a one-time code sent by email that lets you set a new password. If the site does not invalidate it after use, anyone who sees that email link can keep changing the password. Separately, if a site only works over plain HTTP, someone on the same Wi-Fi can read the traffic.

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 Abhijeet kumawat

View all

2 more disclosed reports, best first.

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.