PHPGurukul Notice Board System SQL Injection Vulnerability in category.php

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Notice Board System version 1.0. The issue arises in the category.php file, where the catname parameter is improperly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely without authentication, 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 execution of administrative operations on the database. Such actions could compromise the entire application and its data integrity.

Reproduction

The vulnerability can be reproduced by sending a POST request to the category.php file with a crafted payload in the catname parameter. This payload should exploit the SQL injection vulnerability by injecting malicious SQL code that is executed by the database. The injection can be verified by using a time-based blind SQL injection technique, where the injected SQL code causes a delay in the response, indicating successful exploitation.

Remediation

It is recommended to implement input validation and sanitization for the catname parameter to prevent SQL injection. Additionally, using prepared statements with parameterized queries can help mitigate this vulnerability by separating SQL code from user input.

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

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.