SourceCodester Online Magazine Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in SourceCodester Online Magazine Management System version 1.0. The issue arises in the file 'categories.php', where the 'c' parameter is not properly sanitized before being used in an SQL query. This flaw allows remote attackers to manipulate the parameter and execute arbitrary SQL commands, 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, send a GET request to 'magazines/index.php' with the 'page' parameter set to 'categories' and the 'c' parameter manipulated to include a crafted SQL payload, such as '1'or+sleep(1)%23. This request will exploit the SQL injection vulnerability by injecting SQL code that is executed by the database.

Added: Nov 17, 2025, 5:18 AM
Updated: Nov 17, 2025, 5:18 AM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
5.0
exploitability
6.8
remediation
0.0
relevance
1.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.