Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 70674
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Luke Macken (RETIRED) <lewk@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 70674 depends on: Show dependency tree
Bug 70674 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-10 08:30 0000
TITLE:
BNC IRC proxy "getnickuserhost()" Buffer Overflow Vulnerability

SECUNIA ADVISORY ID:
SA13149

VERIFY ADVISORY:
http://secunia.com/advisories/13149/

CRITICAL:
Moderately critical

IMPACT:
DoS, System access

WHERE:
From remote

SOFTWARE:
BNC IRC proxy 2.x
http://secunia.com/product/1622/

DESCRIPTION:
Leon Juranic has reported a vulnerability in BNC IRC proxy, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially compromise a vulnerable system.

The vulnerability is caused due to some boundary errors in the "getnickuserhost()" function in "cmds.c" when processing IRC server responses. This can be exploited by a malicious server to cause a buffer overflow.

Successful exploitation crashes the process but may potentially also allow execution of arbitrary code.

The vulnerability has been reported in version 2.8.9. Other versions may also be affected.

SOLUTION:
Update to version 2.9.0:
http://www.gotbnc.com/files/bnc2.9.0.tar.gz

PROVIDED AND/OR DISCOVERED BY:
Leon Juranic

ORIGINAL ADVISORY:
http://security.lss.hr/en/index.php?page=details&ID=LSS-2004-11-03

------- Comment #1 From Luke Macken (RETIRED) 2004-11-10 08:33:07 0000 -------
Changelog:

2.9.1

   1. SECURITY FIX: password check, was only letting incorrect passwords in
   2. Fixed IP binding on listen 

2.9.0

   1. Added trailing newlines to log records
   2. Added extra error handling on accepting connections
   3. Fixed buffer overflow in getnickuserhost (reported by Leon Juranic)
   4. Added extra check for gethostbyname2
   5. Made password check more thorough
   6. Fixed ipv6 dns resolving to random ipv4 

===

This advisory is about the buffer overflow fix in 2.9.0, but 2.9.1 also fixes another security issue.


Vapier, please bump to 2.9.1.


------- Comment #2 From SpanKY 2004-11-10 12:13:33 0000 -------
2.9.1 is now in portage

------- Comment #3 From Luke Macken (RETIRED) 2004-11-10 15:04:11 0000 -------
archs, please mark stable.

------- Comment #4 From Jason Wever (RETIRED) 2004-11-10 20:32:30 0000 -------
Stable on sparc

------- Comment #5 From Jochen Maes (RETIRED) 2004-11-11 06:24:57 0000 -------
stable on ppc

------- Comment #6 From Bryan Østergaard (RETIRED) 2004-11-11 11:20:08 0000 -------
Stable on alpha.

------- Comment #7 From Sune Kloppenborg Jeppesen 2004-11-12 15:44:46 0000 -------
GLSA drafted Security please review.

------- Comment #8 From Sune Kloppenborg Jeppesen 2004-11-16 02:16:33 0000 -------
GLSA 200411-24

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug