# Title : Web-Based Student Clearance System - XXE Injection
# Author : @Eawhitehat - Eren Arslan
# Demo available : https://www.sourcecodester.com/php/15627/web-based-student-clearance-system.html
# CVE: N/A
# Screenshot : https://prnt.sc/pjyhotO1Fh8U
Used Payload :
<?xml version="1.0" encoding="ISO-8859-1"?>
Admin account :
admin
admin123
Method :
Connect to panel : http://localhost/admin/login.php
#Vulnerabîlity
1. After login with admin account, go to http://localhost/admin/student-record.php (Student Management > Register Student)
2. Add the payload : <?xml version="1.0" encoding="ISO-8859-1"?> in "FullName" , "Matric No." , "Phone No."
3. Enter random information in the other fields to validate
4. Check the code source, your XXE injected
Enjoy !