SourceCodester Online Polling System SQL Injection Vulnerability in Positions.php
Vulnerability
A critical SQL injection vulnerability has been identified in SourceCodester Online Polling System version 1.0. The issue arises in the file '/admin/positions.php', where insufficient input validation of the 'id' parameter allows for the injection of malicious SQL queries. This vulnerability can be exploited remotely, potentially 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 manipulate database queries. This could result in unauthorized data access, data modification or deletion, and exploitation of other vulnerabilities through database interactions.
Reproduction
To reproduce this vulnerability, navigate to the '/admin/positions.php' file and manipulate the 'id' parameter with unvalidated input. This can be done by sending a request that includes a crafted 'id' value designed to exploit the SQL injection flaw. The vulnerability can also be discovered using Google Hacking by searching for 'inurl:admin/positions.php' which may reveal vulnerable targets.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
