Itsourcecode Tailoring Management System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in the Itsourcocode Tailoring Management System version 1.0. The issue arises in multiple PHP files, including 'incview.php', 'deldoc.php', 'customerview.php', 'typedelete.php', 'templatedelete.php', 'expview.php', 'partview.php', and 'staffview.php'. The vulnerability allows attackers to inject malicious SQL queries through several GET parameters, such as 'id', 'expid', 'incid', 'typeid', and 'staffid'. This injection is executed without proper input validation or sanitization, enabling unauthorized manipulation of SQL queries and access to the database.

Impact

Exploitation of this vulnerability allows for unauthorized database access, data manipulation, and leakage of sensitive information. It poses a significant risk to system security and data integrity.

Reproduction

The vulnerability can be reproduced by sending a GET request to the 'deldoc.php' file with an injected SQL payload in the 'id' parameter. Similar requests can be made to the other vulnerable PHP files using their respective injection points and parameters. The SQL injection can be exploited using time-based blind techniques, where the injected SQL query is crafted to include a 'SLEEP' command, delaying the response and indicating successful exploitation.

Remediation

To address this vulnerability, it is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can further enhance the application's security.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
6.2
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.