First published: Thu May 26 2022(Updated: )
In Hospital-Management-System v1.0, the editid parameter in the doctor.php page is vulnerable to SQL injection attacks.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Hospital Management System Project Hospital Management System | =1.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID is CVE-2022-30516.
The title of the vulnerability is 'In Hospital-Management-System v1.0 the editid parameter in the doctor.php page is vulnerable to SQL injection'.
The severity of CVE-2022-30516 is critical (9.8).
The affected software is Hospital-Management-System v1.0.
The vulnerability manifests in the editid parameter in the doctor.php page.
An SQL injection attack is a technique where an attacker exploits a vulnerability in a web application's database layer to manipulate the database queries and gain unauthorized access to data.
The Common Weakness Enumeration (CWE) ID associated with CVE-2022-30516 is CWE-89 (SQL Injection).
To fix CVE-2022-30516, validate and sanitize user input before incorporating it into SQL queries, or use parameterized queries or prepared statements.