Hello Everyone myself Rahul Bogar. In this writeup I will tell you how I found the SQLi in the educational website.
Let’s begin,
I was testing one educational website where I found the one endpoint like down.html where student need university number to download the receipts. I searched online about the college and found the university number of top students, which I used to download the receipts.
Press enter or click to view image in full size
after entering the university number I can see the student fees history and I clicked the one receipt number which is opened in url with parameter
?no=52
Press enter or click to view image in full size
so I just put the special characters to see the response of the page where I got mysql error while using the apostrophe(‘).
Press enter or click to view image in full size
after getting this error I didn’t wasted the time, used sqlmap to automate the task and dumped the database and got the students PII.
Press enter or click to view image in full size
Press enter or click to view image in full size
I tried for os-shell injection but didn’t have permission to WRITE FILE.
that it, Thank you.