Information Exposure 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.09% (41st 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 Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-REMDEXLIVEHELPERCHAT-2327108
  • published28 Dec 2021
  • disclosed28 Dec 2021
  • credit1d8

Introduced: 28 Dec 2021

CVE-2021-4177  (opens in a new tab)
CWE-209  (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 Information Exposure due to the option of specifying a file location of the city database file, which gives an indication if the file exists or not based on the server's response. An attacker can use this information to determine which files exist and do not exist in order to better profile the system and gain more data.

POC:

Go to /site_admin/chat/geoconfiguration#!#geoconfiguration
Scroll to *Location of city database`
Enter any file location (EX: /etc/passwd2)
Click save
Notice that the file path is highlighted in red, indicating that it doesn't exist.
Then enter a file that does exist (/etc/passwd)
Click save
Notice that the file path is now highlighted in green, indicating that the file exists

References

CVSS Scores

version 3.1