| 제목 | Hospital-Management-System-Website web 1 SQL Injection |
|---|
| 설명 | This vulnerability is a SQL injection vulnerability existing in the user deletion interface of the Hospital Management System Website (source code address: https://github.com/nahiduddinahammed/Hospital-Management-System-Website). It is specifically located in line 38 of the file D:\phpstudy_pro\WWW\Hospital-Management-System-Website-master/delete.php.
The cause of the vulnerability is that the user input variable $ai is directly concatenated into the SQL DELETE statement without parameterization (original statement: DELETE FROM dashboard WHERE patient_id ='$ai'). Attackers can construct malicious inputs (e.g., ' OR '1'='1), which will change the final SQL statement to DELETE FROM dashboard WHERE patient_id ='' OR '1'='1', thereby deleting all user data in the dashboard table. |
|---|
| 원천 | ⚠️ https://github.com/mhszed/Report/blob/main/SQL%20Injection%20Vulnerability%20in%20the%20Hospital-Management-System-Website%20Editor.docx |
|---|
| 사용자 | mahushuai (UID 91047) |
|---|
| 제출 | 2025. 09. 27. PM 02:55 (11 개월 ago) |
|---|
| 모더레이션 | 2025. 10. 05. AM 08:10 (8 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 327200 [nahiduddinahammed Hospital-Management-System-Website 까지 e6562429e14b2f88bd2139cae16e87b965024097 /delete.php ai SQL 주입] |
|---|
| 포인트들 | 20 |
|---|