SQL injection in Canteen Management System - CVE-2023-0679

 

SQL injection in Canteen Management System - CVE-2023-0679

Published: February 8, 2023


Vulnerability identifier: #VU72055
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-0679
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Canteen Management System
Software vendor:
sourcecodester

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data in the "cart_id" parameter in the removeUser.php script. A remote user can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Remediation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

External links