Sunteți pe pagina 1din 8

Web App Hacking:

Hacking Password Reset Functionality


INTRODUCTION

Dawid Czagan

SECURITY INSTRUCTOR

@dawidczagan

Overview
Password reset functionality
Implementations
Attacks

Very sensitive
operation
Account takeover

Password Reset Functionality

Password reset link


Generating new
password
Secret question
and answer

Implementations

https://example.com/reset.php?token=38d527c93b748a2
https://example.com/reset.php?userID=3451&token=38d527c93b748a2

Password Reset Link


Sent to users email address
Valid for a short period of time

Generating New
Password

Password sent in plaintext


Insecurely stored for a long time
Malware

Whats the name of your first school?

Secret Question
and Answer

Whats your mother's maiden name?


Answers are not secret
Social media

1. Leakage of Password Reset Link


2. Insecure Direct Object Reference

Attacks

3. Insecure Session Management


4. Weaknesses in Lifecycle of
Password Reset Link
5. User Enumeration

S-ar putea să vă placă și