Campcodes Supplier Management System SQL Injection Vulnerability in Profile Editing Function

Vulnerability

A SQL injection vulnerability has been identified in Campcodes Supplier Management System version 1.0. The issue arises in the file '/retailer/edit_profile.php', where the 'txtRetailerAddress' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.

Impact

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

Reproduction

The vulnerability can be reproduced by sending a POST request to '/Supply_Management_System/retailer/edit_profile.php' with the 'txtRetailerAddress' parameter. The injection payload can be crafted to exploit the SQL injection vulnerability, such as using a time-based blind SQL injection technique that leverages SQL commands like 'SLEEP' to demonstrate the injection's effectiveness.

Remediation

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 are also advisable.

Added: Jan 5, 2026, 3:17 PM
Updated: Jan 5, 2026, 3:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
5.6
exploitability
9.1
remediation
0.0
relevance
1.8
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.