🧵Another new hacker story thread! 🧵
== The 100 Million Person Data Disclosure ==
That time I hacked a whole country by accident!
🚨Retweet, follow, & like for more hacker stories! 🚨
1/x
👇
== The 100 Million Person Data Disclosure ==
That time I hacked a whole country by accident!
🚨Retweet, follow, & like for more hacker stories! 🚨
1/x
👇
I have done consulting gigs all over the world for security testing, and I frequently travel to speak at international conferences.
Here’s a story about how I found a vulnerability that could have allowed me to steal the private information of over 100 MILLION people.
2/x
👇
Here’s a story about how I found a vulnerability that could have allowed me to steal the private information of over 100 MILLION people.
2/x
👇
I did the whole thing. I created an account, uploaded all my passport info, answered personal questions, uploaded photos, etc.
Somewhere at the end of the process was asked if I wanted to pay for a “rush” service. I did. I also entered my credit card info.
5/x
👇
Somewhere at the end of the process was asked if I wanted to pay for a “rush” service. I did. I also entered my credit card info.
5/x
👇
Towards the end of the application process, I was given a link to check my order status, something like:
threat.dev
This page prompted me to log in using the credentials I had set up earlier. Then it redirected me to my account section...
6/x
👇
threat.dev
This page prompted me to log in using the credentials I had set up earlier. Then it redirected me to my account section...
6/x
👇
6/x
...where I saw my order status.
On the page, I noticed I could print the order application with the click of a button.
I hovered over the button and the link looked like so:
threat.dev
Clicking this button returned...
...where I saw my order status.
On the page, I noticed I could print the order application with the click of a button.
I hovered over the button and the link looked like so:
threat.dev
Clicking this button returned...
...a printable page of all my info referenced above.
So… even when I’m not working, my hacker brain never turns off.
That number, 105608983… What if I changed it to 105608982? The number right before me?
Surely the application would recognize that was not my id, right?
7/x
So… even when I’m not working, my hacker brain never turns off.
That number, 105608983… What if I changed it to 105608982? The number right before me?
Surely the application would recognize that was not my id, right?
7/x
Unfortunately, for me and all the applicants before me, the answer was “No”. Requesting:
threat.dev
returned another user’s personal information.
Big sad.
8/x
threat.dev
returned another user’s personal information.
Big sad.
8/x
This type of web vulnerability is typically called an IDOR (an Insecure Direct Object Reference).
I found this bug totally outside of work, so I started to get very nervous about finding such a big bug on a gov site where I was traveling. I had to find a way...
9/x
I found this bug totally outside of work, so I started to get very nervous about finding such a big bug on a gov site where I was traveling. I had to find a way...
9/x
...to responsibly disclose it without getting in trouble.
I reached out to several friends in the information security scene. Luckily one of them knew of someone who worked in Cyber Security for that government.
They asked that I pass along a written report.
I did.
10/x
I reached out to several friends in the information security scene. Luckily one of them knew of someone who worked in Cyber Security for that government.
They asked that I pass along a written report.
I did.
10/x
I then worked with them to retest the issue once a fix was put in place.
I discovered 4 more vulnerabilities in this process, one of which was that the database was being backed up in a tar file to the same place user images were being uploaded.
11/x
I discovered 4 more vulnerabilities in this process, one of which was that the database was being backed up in a tar file to the same place user images were being uploaded.
11/x
In the end, they were thankful for the disclosure & my work. My travel went without a hitch.
I didn’t even get a t-shirt but, I might have saved your personal data from evil hackers.
✌🏻For more hacker stories follow, retweet, & like! ✌🏻
13/x
I didn’t even get a t-shirt but, I might have saved your personal data from evil hackers.
✌🏻For more hacker stories follow, retweet, & like! ✌🏻
13/x
Loading suggestions...