Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
6DescriptionCVE.org
A vulnerability, which was classified as critical, was found in PHPGurukul Vehicle Parking Management System 1.13. Affected is an unknown function of the file /admin/index.php. The manipulation of the argument Username leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
AnalysisAI
CVE-2025-7521 is a critical SQL injection vulnerability in PHPGurukul Vehicle Parking Management System version 1.13, specifically in the /admin/index.php file's Username parameter. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or system compromise. The vulnerability has been publicly disclosed with proof-of-concept code available, creating immediate exploitation risk.
Technical ContextAI
This is a classic SQL injection vulnerability (CWE-74: Improper Neutralization of Special Elements used in an SQL Command) occurring in a PHP-based web application. The Vehicle Parking Management System is built on PHP and likely uses MySQL/MariaDB for data persistence. The vulnerability exists in the admin authentication handler (/admin/index.php) where the Username parameter is directly concatenated into SQL queries without proper parameterized query preparation or input sanitization. This allows attackers to break out of intended SQL syntax by injecting SQL metacharacters (quotes, comments, boolean operators) to alter query logic. The affected CPE would be: cpe:2.3/a/phpgurukul/vehicle_parking_management_system/1.13/*:*:*:*:*:*:*
RemediationAI
{'priority': 'CRITICAL', 'action': 'Upgrade to patched version', 'details': 'Contact PHPGurukul or check https://phpgurukul.com for version 1.14+ or later security releases. Verify patch notes confirm SQL injection fix in /admin/index.php.', 'timeline': 'Immediate (within 24-48 hours)'} {'priority': 'HIGH', 'action': 'Implement temporary mitigation if patch unavailable', 'details': 'Apply Web Application Firewall (WAF) rules to block SQL injection patterns in admin login requests (detect quotes, comment sequences, UNION keywords in Username parameter). Whitelist allowed characters in Username field to alphanumeric only.', 'timeline': 'Immediate'} {'priority': 'HIGH', 'action': 'Code-level fix (if source available)', 'details': "Replace direct SQL concatenation with parameterized queries using prepared statements (mysqli::prepare or PDO::prepare in PHP). Example: Use $stmt = $mysqli->prepare('SELECT * FROM users WHERE username = ?'); $stmt->bind_param('s', $username); instead of $query = 'SELECT * FROM users WHERE username = ' . $username;", 'timeline': 'Immediate for development environments'} {'priority': 'MEDIUM', 'action': 'Isolate affected systems', 'details': 'Restrict network access to /admin/index.php to trusted IP ranges. Consider disabling admin access temporarily and switching to API-based administration if available.', 'timeline': 'Immediate'} {'priority': 'MEDIUM', 'action': 'Audit and reset credentials', 'details': 'After patching, audit admin account login logs for suspicious activity. Force password reset for all administrative accounts as exploitation may have compromised credentials.', 'timeline': 'Post-remediation'}
More from same product – last 7 days
Authentication bypass in Discuz! X5.0 releases 20260320 through 20260501 allows unauthenticated remote attackers to acce
Authenticated remote code execution in Discuz! X5.0 releases 20260320 through 20260501 allows administrators to chain a
Unauthenticated PHP Object Injection in the Happyforms WordPress plugin (versions <= 1.26.13) allows remote attackers to
Unauthenticated PHP Object Injection in the Broadcast Live Video WordPress plugin (versions prior to 7.1.3) allows remot
Unauthenticated PHP object injection in the WordPress plugin 'Integration for Keap/Infusionsoft and Contact Form 7, WPFo
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-21249