vendor:
Hexchat IRC client
by:
PizzaHatHacker
N/A
CVSS
HIGH
Directory Traversal
22
CWE
Product Name: Hexchat IRC client
Affected Version From: 2.11.2000
Affected Version To: 2.11.2000
Patch Exists: YES
Related CWE: CVE-2016-2087
CPE: a:hexchat:hexchat:2.11.0
Platforms Tested: Linux
2016
Hexchat IRC client – Server name log directory traversal
The Hexchat IRC client is vulnerable to a directory traversal attack in the server name log directory. This vulnerability allows an attacker to create or modify arbitrary files on the filesystem with the permissions of the IRC client user. The vulnerability occurs when a non-sanitized server-provided information is injected into the file path via the 'log_insert_vars' function call. This can be triggered by connecting to a malicious server and using a special configuration with logging enabled and a pattern containing '%s' in the log filepath.
Mitigation:
The vendor recommends updating to the latest version of Hexchat to mitigate this vulnerability. Additionally, users are advised to avoid connecting to untrusted or malicious servers.