BNC IRC getnickuserhost function buffer overflow
| bnc-irc-getnickuserhost-bo (18013) |
Description:
BNC is vulnerable to a buffer overflow, caused by improper bounds checking of user-supplied input in the getnickuserhost function in the cmds.c file when processing IRC server responses. A remote attacker could use this vulnerability to overflow a buffer and execute arbitrary code on the system or cause a denial of service.
Platforms Affected:
- Debian, Debian Linux 3.0
- Gentoo, Linux
- James Seter, BNC Proxy 2.8.9
Remedy:
Upgrade to the latest version of BNC IRC (2.9.1 or later), available from the IRC Proxy Download Web page. See References.
For Gentoo Linux:
Upgrade to the latest version of BNC (2.9.1 or later), as listed in GLSA 200411-24. See References.
For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest BNC package (2.6.4-3.3 or later), as listed in DSA-595-1. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- BNC IRC Web page, The IRC proxy at http://www.gotbnc.com/index.html.
- IRC Proxy Download Web page, Download at http://www.gotbnc.com/download.html.
- LSS Security Advisory #LSS-2004-11-03, BNC 2.8.9 remote buffer overflow at http://security.lss.hr/en/index.php?page=details&ID=LSS-2004-11-03.
- BID-11647: BNC getnickuserhost IRC Server Response Buffer Overflow Vulnerability
- CVE-2004-1052: Buffer overflow in the getnickuserhost function in BNC 2.8.9, and possibly other versions, allows remote IRC servers to execute arbitrary code via an IRC server response that contains many (1) ! (exclamation) or (2) @ (at sign) characters.
- DSA-595: bnc -- buffer overflow
- GLSA-200411-24: BNC: Buffer overflow vulnerability
- SA13149: BNC IRC proxy "getnickuserhost()" Buffer Overflow Vulnerability
Reported:
Nov 09, 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 xforce@iss.net
