Submit #819933: code-projects code-projects Online Hospital Management System 1.0 1.0 SQL Injectioninfo

Titlecode-projects code-projects Online Hospital Management System 1.0 1.0 SQL Injection
DescriptionOnline 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.
Source⚠️ https://github.com/aiyuyuyu/cve/blob/main/patient_sql.md
User
 yuyuyu (UID 97935)
Submission05/06/2026 04:43 (2 months ago)
Moderation05/30/2026 18:37 (25 days later)
StatusAccepted
VulDB entry367467 [code-projects Online Hospital Management System 1.0 /patient.php editid sql injection]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!