Sourcecodester Online ID Generator System SQL Injection Vulnerability
Vulnerability
A SQL injection vulnerability has been identified in Sourcecodester Online ID Generator System version 1.0. The issue arises in the admin generation page, where the template parameter is not properly sanitized before being used in SQL queries. This vulnerability allows attackers to manipulate the SQL query and potentially access or modify database information.
Impact
Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.
Reproduction
To reproduce this vulnerability, log into the admin panel and navigate to the ID generator page. Enter a crafted payload in the template parameter that exploits the SQL injection flaw, such as '4' and '1'='1'. The response will indicate successful exploitation by displaying data that should not be accessible. Alternatively, use a tool like sqlmap to automate the exploitation process.
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.
