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 'id' parameter of the 'id_generator/admin/?page=generate/index' URL. The vulnerability allows attackers to manipulate SQL queries, potentially leading to unauthorized data access or modification.

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 of the Online ID Generator System. Navigate to the 'id_generator/admin/?page=generate/index' URL and enter a crafted payload in the 'id' parameter, such as '1' and '1'='1'. The response will indicate successful injection by displaying data that should not be accessible. Alternatively, use a tool like sqlmap to automate the exploitation process.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.1
remediation
0.0
relevance
0.0
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.