code-projects Automated Voting System
cpe:2.3:a:code-projects:automated_voting_system:*:*:*:*:*:*:*
- 1.0
A SQL injection vulnerability has been identified in Code-Projects Automated Voting System version 1.0. The issue arises in the file '/admin/add_candidate_modal.php', where the 'firstname' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, and a public exploit is available.
Exploitation of this vulnerability allows unauthorized access to the database, manipulation of data, access to sensitive information, and potential disruption of services.
To reproduce this vulnerability, send a POST request to '/admin/add_candidate_modal.php' with the 'firstname' parameter crafted to include SQL injection payloads. The injection can be verified by using time-based blind SQL injection techniques, such as adding a sleep command in the payload and observing the response delay.
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.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.