Code-Projects Accounting System SQL Injection Vulnerability in View_Costumer.php

Vulnerability

A SQL injection vulnerability has been identified in the Code-Projects Accounting System version 1.0. The issue resides in the 'Parameter Handler' component, specifically within the '/view_costumer.php' file. The vulnerability is triggered by manipulating the 'cos_id' parameter, allowing attackers to inject malicious SQL queries. This exploitation can be performed remotely, without any authentication requirements.

Impact

Exploitation of this vulnerability allows unauthorized database access, manipulation of data, leakage of sensitive information, and potential disruption of services.

Reproduction

The vulnerability can be reproduced by sending a crafted request to the '/view_costumer.php' file with a 'cos_id' parameter that includes malicious SQL code. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.

Added: Mar 29, 2026, 6:21 AM
Updated: Mar 29, 2026, 6:21 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
8.7
remediation
0.0
relevance
4.7
threat
6.4
urgency
2.9
incentive
4.2

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