Skip to content
Info disclosure Write-up Beginner

How Snapdeal Kept their Users Data at Risk!

A monitoring endpoint exposed active user session cookies, allowing an attacker to view and steal them. By changing the username and cookies in a request, the attacker could gain complete access to any user's account.

Nanda Kumar Follow

Published on medium.com

This is my first blog after doing some bug-bounty for few months. This blog illustrates how I was able to access the user's data of snapdeal without their knowledge and interaction.

Nanda Kumar, 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 monitoring endpoint stored and displayed active session cookies without proper access control.

What the attacker needed

Access to the monitoring endpoint; a logged-in account

The fix

The vulnerability was fixed after being reported on Twitter.

How it was found

  1. Discover the monitoring endpoint on the website.
  2. Browse the directory and find the View Http Sessions option.
  3. View active sessions and obtain other users' cookies.
  4. Intercept a request from your own logged-in account.
  5. Change the username and cookies to another user's values.
  6. Gain complete access to that user's account.

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 website uses a small file called a cookie to remember that you are logged in. If someone else gets your cookie, they can pretend to be you. Here, a page on the site showed other people's cookies, so anyone could take them and log in as those users.

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.