How I Discovered a Security Vulnerability in Twitter
A support ticket system allowed a user to view other users' tickets by manipulating data fields, exposing sensitive information such as passwords and API keys. The vulnerability affected over 1.5 million Twitter support tickets.
waynechang.com
Published on waynechang.com
A couple weeks ago, I found another security vulnerability that impacted 1-1.5 million Twitter accounts.
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 an access control flaw in the ticket dashboard that allowed manipulation of data fields to access other users' tickets.
Impact
All support tickets (over 1.5 million) were exposed, containing passwords, contact information, API keys, and other sensitive data.
What the attacker needed
A Twitter account; access to the support ticket dashboard
The fix
The vulnerability was fixed after the author provided instructions to Twitter.
How it was found
- Go to the support ticket dashboard.
- Notice that the expected ticket is not listed.
- Manipulate data fields in the page.
- Press enter to load the ticket.
- Observe that another user's ticket is displayed, containing sensitive information.
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 support ticket system is where users report problems to a company. Here, by changing some hidden data in the web page, the author could see other people's tickets, which contained private details like passwords. This is a type of access control bug where the system fails to check if you are allowed to see the data.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.