Enrollment System Project V1.0, developed by Sourcecodester, has been found to be vulnerable to SQL Injection (SQLI) attacks. This vulnerability allows an attacker to manipulate the SQL queries executed by the application. The system fails to properly validate user-supplied input in the username and password fields during the login process, enabling an attacker to inject malicious SQL code. By exploiting this vulnerability, an attacker can bypass authentication and gain unauthorized access to the system.
Exploit Title: Enrollment System Project v1.0 - SQL Injection Authentication Bypass (SQLI)
Exploit Author: VIVEK CHOUDHARY @sudovivek
Vendor Homepage: https://www.sourcecodester.com
Software Link: https://www.sourcecodester.com/php/14444/enrollment-system-project-source-code-using-phpmysql.html
Tested on: Windows 10
CVE: CVE-2023-33584
CVE URL: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-33584
- Launch the Enrollment System Project V1.0 application.
- Open the login page by accessing the URL: http://localhost/enrollment/login.php.
- In the username and password fields, insert the following SQL Injection payload shown inside brackets to bypass authentication: {
' or 1=1 #}. - Click the login button to execute the SQL Injection payload.