提交 #819933: code-projects code-projects Online Hospital Management System 1.0 1.0 SQL Injection信息

标题code-projects code-projects Online Hospital Management System 1.0 1.0 SQL Injection
描述Online Hospital Management System (https://code-projects.org/online-hospital-management-system-in-php-with-source-code/) contains an unauthenticated SQL injection vulnerability in the file patient.php. The GET parameter 'editid' is directly concatenated into both SELECT and UPDATE SQL queries without any sanitization or parameterized query protection. This allows any remote attacker, without prior authentication, to inject arbitrary SQL code. By exploiting the SELECT query, an attacker can extract sensitive data from the database (including admin credentials) using UNION-based or blind SQL injection techniques. By exploiting the UPDATE query, an attacker can modify or overwrite all records in the 'patient' table by injecting conditions that affect every row. The vulnerability can lead to full compromise of patient data, unauthorized administrative access, and potential destruction of the application's database.
来源⚠️ https://github.com/aiyuyuyu/cve/blob/main/patient_sql.md
用户
 yuyuyu (UID 97935)
提交2026-05-06 04時43分 (5 月前)
管理2026-05-30 18時37分 (25 days later)
状态已接受
VulDB条目367467 [code-projects Online Hospital Management System 1.0 /patient.php editid SQL注入]
积分20

Do you need the next level of professionalism?

Upgrade your account now!