vendor:
Billing Management System
by:
Mohammad Koochaki
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Billing Management System
Affected Version From: 2
Affected Version To: 2
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
2021
Billing Management System 2.0 – Union based SQL injection (Authenticated)
This web application contains several SQL injection vulnerabilities in the following paths: http://localhost/editgroup.php?id=1, http://localhost/edituser.php?id=1, http://localhost/editcategory.php?id=10, http://localhost/editproduct.php?id=1, http://localhost/editsales.php?id=1. The vulnerable code is in the editgroup.php file where the 'id' parameter is not properly sanitized before being used in a SQL query.
Mitigation:
To mitigate this vulnerability, the application should use prepared statements or parameterized queries to handle user input in SQL queries.