Pinterest hacked?
The author released an Elastic IP from their own AWS account, and a Pinterest admin server later associated itself with that same IP address. The author could then access the admin interface, which displayed user credentials in plaintext, and they successfully logged in with some of those credentials.
jontsai.com
Published on jontsai.com
Update 2013-05-12: Pinterest wasn’t really hacked. See follow up to this blog post.
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 Pinterest's admin server was assigned a recycled Elastic IP address that the author had just released, and the admin interface lacked network restrictions and authentication, while passwords were stored in plaintext.
Impact
The author could access an admin interface and log in with leaked credentials, though the accounts appeared to be fake hacker accounts and the incident was later described as not a real hack.
What the attacker needed
Author controls an AWS account; author releases an Elastic IP; Pinterest admin server reuses that IP; no authentication on admin page
The fix
Pinterest should restrict the admin server behind a firewall, add authentication to the admin site, and encrypt and salt passwords.
How it was found
- The author decommissioned an EC2 instance and released its Elastic IP but left the DNS entry and an open browser tab.
- The author noticed that different content appeared in the browser tab.
- The author realised a Pinterest admin server had taken the released IP address.
- The author viewed the admin interface, which showed usernames, emails, and passwords in plaintext.
- The author saved about 37 credentials and tested two logins, both successful.
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.
An IP address is like a phone number for a server on the internet. The author stopped using one, and Pinterest's admin server started using the same number, so the author's browser showed Pinterest's private admin page instead of their own. That page also showed user passwords in a form anyone could read.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.