Exploit Author: webraybtl@webray.com.cn inc
Vendor Homepage: https://www.sourcecodester.com/php/15368/prison-management-system-phpoop-free-source-code.html
Software Link:https://www.sourcecodester.com/download-code?nid=15368&title=Prison+Management+System+in+PHP%2FOOP+Free+Source+Code
Persistent XSS (or Stored XSS) attack is one of the three major categories of XSS attacks, the others being Non-Persistent (or Reflected) XSS and DOM-based XSS. In general, XSS attacks are based on the victim’s trust in a legitimate, but vulnerable, website or web application.Prison Management System does not filter the content correctly at the "name" parameter, resulting in the generation of stored XSS.
<img src="" onerror="alert(111111111)">
-
Login the CMS. Admin Default Access: username: admin Password: admin123
-
Put XSS payload in the content box and click on Update to publish the page ;
-
We can see the alert.;