header-logo
Suggest Exploit
vendor:
Online Exam System With Timer
by:
Suresh Kumar
5.5
CVSS
MEDIUM
SQL injection
89
CWE
Product Name: Online Exam System With Timer
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested: Windows 10 Pro 10.0.18363 N/A Build 18363 + XAMPP V3.2.4
2021

Online Exam System With Timer 1.0 – ’email’ SQL injection Auth Bypass

This application is vulnerable to SQL injection vulnerability. The exploit allows bypassing authentication by injecting SQL payload in the 'email' field. By using the payload ' or 'x'='x in the email and password fields, the attacker can directly enter into the Admin Panel page.

Mitigation:

To mitigate this vulnerability, the developer should implement proper input validation and parameterized queries to prevent SQL injection attacks.
Source

Exploit-DB raw data:

# Exploit Title: Online Exam System With Timer 1.0  - 'email' SQL injection Auth Bypass
# Date: 2021-02-18
# Exploit Author: Suresh Kumar
# Vendor Homepage: https://www.sourcecodester.com/
# Software Link: https://www.sourcecodester.com/php/13877/online-exam-timer.html
# Tested On: Windows 10 Pro 10.0.18363 N/A Build 18363 + XAMPP V3.2.4

# This application is vulnerable to SQL injection vulnerability.
# Vulnerable Page: http://localhost/CEE/adminpanel/admin/index.php
# Payload used:

Email    => ' or 'x'='x
Password => ' or 'x'='x

# POC: Whenever we will go to the page (http://localhost/CEE/adminpanel/admin/index.php) when we inject SQL Payload then we will directly enter into the Admin Panel page.