Insecure Direct Object References Reset Password: Toufik Airane @tfairane L TEX January 5, 2015
Insecure Direct Object References Reset Password: Toufik Airane @tfairane L TEX January 5, 2015
com
Insecure Direct Object References
Reset Password
Toufik Airane
@tfairane
toufik.airane@gmail.com
www.tfairane.com
LATEX
January 5, 2015
Contents
1 Introduction 2
1.1 Metadata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Timeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
5 Scenario / Exploit 3
1
1 Introduction
Hi, my name is Toufik Airane, student in IT security from University of Paris
Descartes.
1.1 Metadata
• vulnerability : Insecure Direct Object References (IDOR)
• affect : reset password of any account with userid
• media : http://tfairane.com/archives/Vimeo.IDOR.mp4
• tools : Burp Suite
1.2 Timeline
• 30/12/2014 : discovered date (Happy new year !)
• 05/01/2015 : responsible disclosure on hackerone.com
1.3 Contact
• Gmail : toufik.airane@gmail.com
• Twitter : @tfairane
• website : www.tfairane.com
https://www.owasp.org/index.php/Top 10 2007-
Insecure Direct Object Reference
2
3 IDOR Defense Cheat Sheet
• Avoid exposing your private object references to users whenever possible,
such as primary keys or filenames.
• Validate any private object references extensively with an ”accept known
good” approach
• Verify authorization to all referenced objects
https://www.owasp.org/index.php/Top 10 2007-
Insecure Direct Object Reference
http://vimeo.com/api/v2/kerrytrainor/info.xml
<u s e r s >
<u s e r >
<id >10272636</ id>
<d i s p l a y n a m e >Kerry Trainor </d i s p l a y n a m e >
<c r e a t e d o n >2012−02−02 14:12:45 </ c r e a t e d o n >
< i s s t a f f >1</ i s s t a f f >
...
</u s e r >
</u s e r s >
Finally. vimeo.com/user10272636
5 Scenario / Exploit
First, an attacker signup for an account and request ”forgot password”.
3
You will receive a link :
https://vimeo.com/forgot\ password/[user id]/[token]