| शीर्षक | SourceCodester BarbarBaba 1.0 SQL Injection (Authentication Bypass) |
|---|
| विवरण | A SQL Injection vulnerability exists in the administrator login functionality of BarbarBaba version 1.0.
The login process in panel/index.php directly incorporates the username POST parameter into a SQL query without any sanitization, escaping, or use of prepared statements. This allows an attacker to manipulate the SQL query logic and bypass the authentication check.
$adminuser=$_POST['username'];
$password=md5($_POST['password']);
$query=mysqli_query($con,"select ID from tbladmin where UserName='$adminuser' && Password='$password' "); |
|---|
| स्रोत | ⚠️ https://gist.github.com/c4ttr4ck/ce493363681ae3d7c7a500634818e219 |
|---|
| उपयोगकर्ता | c4ttr4ck (UID 75518) |
|---|
| सबमिशन | 26/04/2026 11:04 PM (6 महीनों पहले) |
|---|
| संयम | 24/05/2026 08:29 AM (27 days later) |
|---|
| स्थिति | प्रतिलिपि |
|---|
| VulDB प्रविष्टि | 313776 [SourceCodester Best Salon Management System 1.0 Login username SQL इंजेक्शन] |
|---|
| अंक | 0 |
|---|