EBay Security Vulnerability
The report claims that eBay's site reverts to HTTP after login and that six authentication cookies lack the Secure and HttpOnly flags, allowing an attacker on the same network to sniff session tokens and hijack accounts. It also describes an active attack using DNS spoofing to load an HTTP eBay page in a hidden iframe and capture the cookies.
pastebin.com
Published on pastebin.com
The original lives on pastebin.com
We do not hold its text, 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 site did not enforce HTTPS for all pages after login and did not set the Secure and HttpOnly flags on authentication cookies.
Impact
An attacker within range of a public Wi-Fi network could capture session cookies and log in as the victim, accessing personal information and performing actions on their account; the report also notes that without HttpOnly, an XSS vulnerability could be used if one were found.
What the attacker needed
Attacker on same network or DNS spoofing; victim visits any page linking to eBay; victim logged in with Remember Me
The fix
The site should enforce HTTPS on every page and set the Secure and HttpOnly flags on all authentication cookies.
How it was found
- Log in to ebay.com over HTTPS.
- Observe that after authentication the site reverts to HTTP.
- Capture network traffic on a wireless interface in monitor mode.
- Filter for one of the authentication cookies to see it sent in plaintext.
- Alternatively, redirect the victim via DNS spoofing to an attacker page that loads an HTTP eBay page in a hidden iframe.
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 log in to a website, the site gives your browser a small file called a cookie so it remembers you. If the site then uses an unencrypted connection (HTTP instead of HTTPS), anyone on the same Wi-Fi can read that cookie and use it to pretend to be you. This report says eBay did exactly that and also failed to mark the cookies as protected against script access.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.