vendor:
CometChat
by:
Luke Paris (Paradoxis)
5.5
CVSS
MEDIUM
Local File Inclusion
22
CWE
Product Name: CometChat
Affected Version From:
Affected Version To: < 6.2.0 BETA 1
Patch Exists: YES
Related CWE:
CPE: cometchat
Platforms Tested: Ubuntu Linux 14.04
2017
CometChat < v6.2.0 BETA 1 - Local File Inclusion
In versions of CometChat before version v6.2.0 BETA 1, a bug existed which allowed any unauthorized attacker to modify the include path of a PHP file by sending an HTTP request with a crafted 'cc_lang' cookie. If successfully exploited, an attacker could leverage this bug to execute arbitrary PHP code which resides somewhere else on the server (e.g., uploaded via an upload form).
Mitigation:
Upgrade to version v6.2.0 BETA 1 or later. Ensure input validation and sanitization are performed on user-supplied input.