Code-Projects Medical Store Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability exists in Code-Projects Medical Store Management System version 1.0. The issue arises in the UpdateCompany.java file, specifically within the Update Company Page component. The vulnerability is triggered by manipulating the companyNameTxt parameter, allowing remote attackers to inject malicious SQL queries. This exploitation could lead to unauthorized database access, data manipulation, and leakage of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to interfere with the application's database. This could result in unauthorized data access, data modification or deletion, and in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, navigate to the Update Company Page in the application. Once there, update the companyNameTxt field with a payload that includes SQL injection elements, such as a single quote followed by SQL commands. This injected SQL will be executed by the application's database, demonstrating the vulnerability.

Added: Aug 14, 2025, 3:21 AM
Updated: Aug 14, 2025, 3:21 AM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
9.1
remediation
0.0
relevance
0.3
threat
6.4
urgency
2.9
incentive
10.0

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