Code-Projects Automated Voting System SQL Injection Vulnerability in User Management

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Automated Voting System version 1.0. The issue resides in the '/admin/user.php' file, where the 'username' parameter is not properly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data manipulation, and disruption of service.

Impact

Exploitation of this vulnerability allows for SQL injection, which could be used to access, modify, or delete database information. Such actions could include unauthorized access to sensitive data or disruption of service.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/admin/user.php' with a crafted 'username' parameter that includes malicious SQL payloads. 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: Oct 27, 2025, 7:19 AM
Updated: Oct 27, 2025, 2:24 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
6.0
remediation
0.0
relevance
0.8
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.