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 was found in PHPGurukul User Registration & Login and User Management System 3.3 and classified as critical. Affected by this issue is some unknown functionality of the file /admin/user-profile.php. The manipulation of the argument uid leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
AnalysisAI
CVE-2025-7542 is a critical SQL injection vulnerability in PHPGurukul User Registration & Login and User Management System version 3.3, located in the /admin/user-profile.php file where the 'uid' parameter is not properly sanitized. An unauthenticated remote attacker can exploit this vulnerability 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, and exploitation requires no special privileges or user interaction, making it a high-priority threat for affected deployments.
Technical ContextAI
This vulnerability is rooted in CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component, also related to SQL injection patterns). The affected application is PHPGurukul's user management system, a PHP-based web application that processes user profile requests. The vulnerability exists in /admin/user-profile.php where the 'uid' (user ID) parameter is passed directly into SQL queries without proper parameterized queries, input validation, or prepared statement usage. The CPE for this vulnerability would be cpe:2.3:a:phpgurukul:user_registration_and_login_system:3.3:*:*:*:*:*:*:* indicating the specific version 3.3 is vulnerable. The root cause is improper input handling in a database query context, a classic SQL injection vulnerability pattern that allows attackers to manipulate SQL syntax and logic.
RemediationAI
{'type': 'Patching', 'action': 'Upgrade PHPGurukul User Registration & Login System to a patched version (version 3.4 or later if available). Contact PHPGurukul directly for patch availability and release timelines.', 'priority': 'Critical - Apply immediately'} {'type': 'Workaround - Input Validation', 'action': "If patching is not immediately possible, implement strict input validation on the 'uid' parameter in /admin/user-profile.php. Validate that 'uid' contains only numeric values using regex or type casting: if(!is_numeric($_GET['uid'])) { exit('Invalid input'); }", 'priority': 'High - Implement as interim measure'} {'type': 'Workaround - Prepared Statements', 'action': "Refactor all database queries in /admin/user-profile.php to use parameterized queries/prepared statements with bound variables instead of string concatenation. Example: $stmt = $pdo->prepare('SELECT * FROM users WHERE uid = ?'); $stmt->execute([$_GET['uid']]);", 'priority': 'High - Best practice implementation'} {'type': 'Access Control', 'action': 'Restrict access to /admin/ directory via web server configuration (Apache/.htaccess or Nginx) to trusted IP ranges or implement additional authentication layers. Require WAF rules to block SQL injection patterns in query parameters.', 'priority': 'Medium - Defense-in-depth measure'} {'type': 'Monitoring', 'action': "Enable SQL error logging and monitor for unusual SQL queries or errors in application and database logs. Set up alerts for 'uid' parameter values containing SQL keywords (UNION, SELECT, OR, etc.).", 'priority': 'Medium - Detection and response capability'}
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-21271