PHPGurukul News Portal SQL Injection Vulnerability in Add-Subadmins Admin File

Vulnerability

A SQL injection vulnerability exists in PHPGurukul News Portal Project version 4.1, specifically within the admin add-subadmins.php file. The issue arises from inadequate input validation of the sadminusername parameter, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data manipulation, and disruption of services.

Impact

Exploitation of this vulnerability allows attackers to inject malicious SQL queries, bypassing authentication and gaining unauthorized access to the database. This could result in unauthorized data access, data manipulation, and disruption of services.

Reproduction

To reproduce this vulnerability, send a POST request to /newsportal/admin/add-subadmins.php with the sadminusername parameter manipulated to include a time-based blind SQL injection payload. This payload exploits the SQL injection vulnerability by using the RLIKE operator to test for SQL injection, such as by causing a delay in the response.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection vulnerabilities. Additionally, input validation and filtering should be implemented to ensure that user input conforms to expected formats. Finally, database user permissions should be minimized to reduce the risk of unauthorized access.

Added: Apr 9, 2026, 5:28 AM
Updated: Apr 9, 2026, 5:28 AM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
5.6
exploitability
6.8
remediation
0.0
relevance
5.5
threat
6.4
urgency
2.9
incentive
0.0

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