Title: XSOK GunZip Path Environment Variable Local Command Execution Vulnerability
Severity: MODERATE
Description:
xsok is a freely available, open source single player game. It is available for the Linux platform.
A problem has been disclosed in the handling of user-supplied input in xsok. Because of this, an attacker may be able to gain elevated privileges on a host with the vulnerable program.
The problem is in the handling of the GUNZIP_PATH environment variable. It is possible for an attacker to modify the environment variable, allowing the attacker to change the search path that the program follows to find the gunzip executable. Vulnerable versions of the program do not drop privileges before executing the gunzip executable. By altering the path and supplying commands contained in a malicious program with the name gunzip, attackers are able to execute arbitrary commands with the privileges of the Group-ID games.
Affected Products:
- xsok xsok 1.0.0 2
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.