QuakeWorld Connect Buffer Overflow Vulnerability
BID:60
Info
QuakeWorld Connect Buffer Overflow Vulnerability
| Bugtraq ID: | 60 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-1999-1505 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 07 1998 12:00AM |
| Updated: | Jul 11 2009 12:16AM |
| Credit: | This vulnerability was reported in "QW vulnerability" by Glenn F. Maynard <[email protected]> to the BugTraq mailing list on April 7, 1998. |
| Vulnerable: |
id Software QuakeWorld 2.1 |
| Not Vulnerable: | |
Discussion
QuakeWorld Connect Buffer Overflow Vulnerability
The exists a buffer overflow in the initial 'connect' sequence of QuakeWorld.
The first client to server packet provides the user name, colors, and other parameters. The packet is composed of four 0xFF bytes followed by a string such as 'connect "\name\Sucker\key\data"'.
There is no bounds checking on the data from this initial connection packet. A packet with the initial four 0xFF bytes followed by "connect "\x\xxxxxxxxxx'" where 'x' is repeated more than 1024 times will crash the server.
The static buffer being smashed is "con_token" which is 1024 bytes long. The overflow overwrites the structure "mainzone" past this buffer. This causes the server to die while trying to dereference a pointer in this structure from within the function "Z_CheckHeap()".
The exists a buffer overflow in the initial 'connect' sequence of QuakeWorld.
The first client to server packet provides the user name, colors, and other parameters. The packet is composed of four 0xFF bytes followed by a string such as 'connect "\name\Sucker\key\data"'.
There is no bounds checking on the data from this initial connection packet. A packet with the initial four 0xFF bytes followed by "connect "\x\xxxxxxxxxx'" where 'x' is repeated more than 1024 times will crash the server.
The static buffer being smashed is "con_token" which is 1024 bytes long. The overflow overwrites the structure "mainzone" past this buffer. This causes the server to die while trying to dereference a pointer in this structure from within the function "Z_CheckHeap()".
Exploit / POC
QuakeWorld Connect Buffer Overflow Vulnerability
Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
Solution / Fix
QuakeWorld Connect Buffer Overflow Vulnerability
Solution:
Currently the SecurityFocus staff are not aware of any vendor supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
Solution:
Currently the SecurityFocus staff are not aware of any vendor supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].