PT-2023-5892 · Sourcecodester · Sourcecodester Hospital Management System

Icsogtr

·

Published

2023-08-06

·

Updated

2024-05-17

·

CVE-2023-4185

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions SourceCodester Online Hospital Management System version 1.0
Description A critical issue has been found in the patientlogin.php file of the system, related to the lack of protection against SQL query structure manipulation. This allows a remote attacker to execute arbitrary SQL queries on the database. The manipulation of the loginid and password arguments leads to SQL injection. The issue can be exploited remotely.
Recommendations For SourceCodester Online Hospital Management System version 1.0, consider disabling the patientlogin.php file or restricting access to it until a patch is available. As a temporary workaround, avoid using the loginid and password arguments in the affected file to minimize the risk of exploitation.

Exploit

Fix

SQL injection

Weakness Enumeration

Related Identifiers

BDU:2023-06588
CVE-2023-4185

Affected Products

Sourcecodester Hospital Management System