header-logo
Suggest Exploit
vendor:
Enrollment System Project
by:
VIVEK CHOUDHARY
9.8
CVSS
CRITICAL
SQL Injection
89
CWE
Product Name: Enrollment System Project
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE: CVE-2023-33584
CPE: a:sourcecodester:enrollment_system_project:1.0
Metasploit:
Other Scripts:
Platforms Tested: Windows 10
2023

Enrollment System Project v1.0 โ€“ SQL Injection Authentication Bypass (SQLI)

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.

Mitigation:

To mitigate this vulnerability, it is recommended to implement proper input validation and parameterized queries to prevent SQL Injection attacks. Regularly update the software to the latest version to ensure any security patches are applied.
Source

Exploit-DB raw data:

# Exploit Title: Enrollment System Project v1.0 - SQL Injection Authentication Bypass (SQLI)
# Date of found: 18/05/2023
# Exploit Author: VIVEK CHOUDHARY @sudovivek
# Version: V1.0
# Tested on: Windows 10
# Vendor Homepage: https://www.sourcecodester.com
# Software Link: https://www.sourcecodester.com/php/14444/enrollment-system-project-source-code-using-phpmysql.html
# CVE: CVE-2023-33584
# CVE URL: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-33584

Vulnerability Description -

	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.


Steps to Reproduce -

	The following steps outline the exploitation of the SQL Injection vulnerability in Enrollment System Project V1.0:

	    1.	Launch the Enrollment System Project V1.0 application.

	    2.	Open the login page by accessing the URL: http://localhost/enrollment/login.php.

	    3.	In the username and password fields, insert the following SQL Injection payload shown inside brackets to bypass authentication: {' or 1=1 #}.

	    4.	Click the login button to execute the SQL Injection payload.


As a result of successful exploitation, the attacker gains unauthorized access to the system and is logged in with administrative privileges.
cqrsecured