Online students management system 1.0 username sql injections Vulnerability / Exploit
/
/
/
Exploits / Vulnerability Discovered : 2020-10-12 |
Type : webapps |
Platform : php
This exploit / vulnerability Online students management system 1.0 username sql injections is for educational purposes only and if it is used you will do on your own risk!
[+] Code ...
# Title: Online Students Management System 1.0 - 'username' SQL Injections
# Exploit Author: George Tsimpidas
# Date: 2020-10-09
# Vendor Homepage: www.sourcecodester.com
# Software Link:
https://www.sourcecodester.com/sites/default/files/download/janobe/studentrecord_0.zip
# Version : 1.0
# Tested on: Ubuntu 18.04.5 LTS (Bionic Beaver)
# Category: Webapp
# Description
The files index.php on the main login page, and the index.php on the
/admin/ login page does not perform input validation on the regno
and username parameters. An attacker can send malicious input in the post
request to http://localhost/index.php or either
http://localhost/admin/index.php and bypass authentication, extract
sensitive information etc.
#POC
1) Navigate to the admin login page
Example:
http://localhost/admin/index.php
2) Fill in dummy values for 'username' and 'password' fields and send the
request via an HTTP intercept tool
3) Save the request to file. Example, student_record_sqli.req