Skip to main content

PHP CVE-2025-7521

| EUVD-2025-21249 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-13 cna@vuldb.com
5.5
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

6
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
EUVD ID Assigned
Mar 16, 2026 - 09:18 euvd
EUVD-2025-21249
Analysis Generated
Mar 16, 2026 - 09:18 vuln.today
PoC Detected
Sep 26, 2025 - 13:54 vuln.today
Public exploit code
CVE Published
Jul 13, 2025 - 06:15 nvd
HIGH 7.3

DescriptionCVE.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'}

Share

CVE-2025-7521 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy