PHPGurukul Student Record System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in PHPGurukul Student Record System version 3.20. The issue arises in the 'add-subject.php' file, where the 'sub1', 'sub2', 'sub3', 'sub4', and 'course-short' parameters can be manipulated to inject malicious SQL queries. This vulnerability allows attackers to interfere with the application's database queries, potentially leading to unauthorized data access or modification.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate 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 request to 'add-subject.php' with injected SQL payloads in the 'sub1', 'sub2', 'sub3', 'sub4', and 'course-short' parameters. Using a time-based payload, such as 'sleep(10)', can help demonstrate the injection by causing a delay in the server's response.

Added: Nov 14, 2025, 4:25 PM
Updated: Nov 14, 2025, 5:24 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
5.0
exploitability
9.5
remediation
0.0
relevance
1.0
threat
6.4
urgency
2.9
incentive
10.0

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