BNC getnickuserhost IRC Server Response Buffer Overflow Vulnerability

BID:11647

Info

BNC getnickuserhost IRC Server Response Buffer Overflow Vulnerability

Bugtraq ID: 11647
Class: Boundary Condition Error
CVE: CVE-2004-1052
Remote: Yes
Local: No
Published: Nov 10 2004 12:00AM
Updated: Jul 12 2009 08:06AM
Credit: Discovery is credited to Leon Juranic of LSS Security Team.
Vulnerable: Gentoo Linux
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
BNC BNC 2.8.9
BNC BNC 2.8.8
BNC BNC 2.6.4
+ 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
+ Debian Linux 3.0
BNC BNC 2.6.2
BNC BNC 2.6
BNC BNC 2.4.8
BNC BNC 2.4.6
BNC BNC 2.2.4
Not Vulnerable: BNC BNC 2.9.1
+ Gentoo Linux
BNC BNC 2.9 .0

Discussion

BNC getnickuserhost IRC Server Response Buffer Overflow Vulnerability

A remotely exploitable stack-based buffer overflow has been reported in BNC. This issue may be triggered when a malformed IRC (Internet Relay Chat) server response is handled by the proxy.

If successfully exploited, this would allow execution of arbitrary code in the context of the proxy.

Exploit / POC

BNC getnickuserhost IRC Server Response Buffer Overflow Vulnerability

Currently we 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] <mailto:[email protected]>.

Solution / Fix

BNC getnickuserhost IRC Server Response Buffer Overflow Vulnerability

Solution:
This issue is addressed in version 2.9.0 and later.

Debian Linux has released an advisory (DSA 595-1) and fixes dealing with this issue. Please see referenced advisory for further information.

Gentoo Linux has released an advisory (GLSA 200411-24) dealing with this issue. Gentoo has advised that all BNC users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-irc/bnc-2.9.1"

For more information please see the referenced Gentoo Linux advisory.


BNC BNC 2.2.4

BNC BNC 2.4.6

BNC BNC 2.4.8

BNC BNC 2.6

BNC BNC 2.6.2

BNC BNC 2.6.4

BNC BNC 2.8.8

BNC BNC 2.8.9

References

BNC getnickuserhost IRC Server Response Buffer Overflow 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