Bochs long HOME variable buffer overflow
|bochs-home-bo (15309)||High Risk|
Bochs could allow a local attacker to execute arbitrary commands on the system, caused by a buffer overflow in the HOME environment variable. A local attacker could supply a long HOME environment variable to execute arbitrary commands on the system with elevated privileges.
Upgrade to the latest version of Bochs (2.1.1 or later), available from the SourceForge.net Web site. See References.
- boch's Web site: bochs: The Open Source IA-31 Emulation Project (Home Page).
- SecuriTeam Mailing List, UNIX focus 25 Feb 2004: Bochs HOME Environment Variable Buffer Overflow.
- SourceForge.net: SourceForge.net: Project Filelist.
- CVE-2004-2372: Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute arbitrary code via a long HOME environment variable, which is used if the .bochsrc, bochsrc, and bochsrc.txt cannot be found in a known path. NOTE: some external documents recommend that Bochs be installed setuid root, so this should be treated as a vulnerability.
- OSVDB ID: 20150: Bochs HOME Environment Variable Local Overflow
- SECTRACK ID: 1009219: Bochs Buffer Overflow in HOME Environment Variable May Let Local Users Gain Elevated Privileges
- Bochs Project Bochs prior to 2.1.1
Feb 25, 2004
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this