XSOK LANG Environment Variable Local Buffer Overrun Vulnerability

BID:9341

Info

XSOK LANG Environment Variable Local Buffer Overrun Vulnerability

Bugtraq ID: 9341
Class: Boundary Condition Error
CVE: CVE-2004-0074
Remote: No
Local: Yes
Published: Dec 30 2003 12:00AM
Updated: Jul 12 2009 12:56AM
Credit: This issue appears to have been discovered by Debian.
Vulnerable: xsok xsok 1.0 2
- Debian Linux 3.0 sparc
- Debian Linux 3.0 s/390
- Debian Linux 3.0 ppc
- Debian Linux 3.0 mipsel
- Debian Linux 3.0 mips
- Debian Linux 3.0 m68k
- Debian Linux 3.0 ia-64
- Debian Linux 3.0 ia-32
- Debian Linux 3.0 hppa
- Debian Linux 3.0 arm
- Debian Linux 3.0 alpha
Not Vulnerable:

Discussion

XSOK LANG Environment Variable Local Buffer Overrun Vulnerability

xsok is prone to a locally exploitable buffer overrun vulnerability due to insufficient bounds check of data supplied through the LANG environment variable. This could be exploited to execute arbitrary code with elevated privileges. The program is typically installed setgid games.

Exploit / POC

XSOK LANG Environment Variable Local Buffer Overrun Vulnerability

The following exploit was provided:

Solution / Fix

XSOK LANG Environment Variable Local Buffer Overrun Vulnerability

Solution:
This issue was also addressed with the release of Debian advisory DSA 405-1. Please see the referenced advisory for details on obtaining and applying fixes.

References

XSOK LANG Environment Variable Local Buffer Overrun Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report