CVE-2025-45021 Details
Description
A SQL Injection vulnerability was identified in the admin/edit-directory.php file of the PHPGurukul Directory Management System v2.0. Attackers can exploit this vulnerability via the email parameter in a POST request to execute arbitrary SQL commands.
A SQL injection vulnerability exists in the PHPGurukul Directory Management System version 2.0, specifically in the admin/edit-directory.php file. This vulnerability allows attackers to execute arbitrary SQL commands by exploiting the email parameter in a POST request.
To address this vulnerability, input validation should be implemented to sanitize user inputs, such as the email parameter, using allowlists or regular expressions. Additionally, dynamic queries should be replaced with prepared statements to prevent SQL injection. Database user permissions should be restricted to the least privilege necessary, and developers can refer to the OWASP SQL Injection Prevention Cheat Sheet for guidance.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rtnthakur/CVE/blob/main/PHPGurukul/Directory%20Management%20System/SQL/SQl_Injection_in_edit-directory.md | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| phpgurukul directory management system | 2.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 9, 2025 | Initial Analysis | [email protected] |
| Apr 30, 2025 | CVE Modified | CISA-ADP |
| Apr 30, 2025 | New CVE Received | [email protected] |