Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 159658

Summary: kde-base/ksirc Buffer Overflow (PRIVMSG) (CVE-2006-6811)
Product: Gentoo Security Reporter: Executioner <keith>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Severity: normal CC: bathym, kde, keith
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B1 [glsa]
Package list:
Runtime testing required: ---

Description Executioner 2007-01-01 16:30:52 UTC
There is a possible buffer overflow with the handling of private messages in ksirc.
Comment 1 Executioner 2007-01-06 06:35:55 UTC
dropped an email
Comment 2 Sune Kloppenborg Jeppesen gentoo-dev 2007-01-06 12:52:34 UTC
kde please advise.
Comment 3 Matthias Geerdsen (RETIRED) gentoo-dev 2007-01-08 11:06:41 UTC
this is CVE-2006-6811
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-08 11:44:42 UTC
I've got a tentative patch from kde-packager but it's yet to audit; word from Dirk Mueller, though, say tha tthe problem is less serious than it was told, as he can't find a way to exploit the code being just a NULL pointer reference.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-11 13:43:45 UTC
Probably for the last time for me, but ksirc-3.5.5-r1 and kdenetwork-3.5.5-r2 are now in tree.

KDE Security Advisory: ksirc denial of service vulnerability
Original Release Date: 2007-01-09

0. References


1. Systems affected:

        ksirc as shipped with KDE 3.5.5 or older. KDE 3.5.6 and
        newer is not affected.

2. Overview:

        On 2006-12-27, a proof of concept for arbitrary code execution
        in ksirc was published by Federico L. Bossi Bonin. The published
        exploit triggers an assertion in ksirc and results in a
        a NULL pointer dereference (crash) for non-debug builds.

3. Impact:

        A malicious IRC server can crash the ksirc client. No arbitrary
        code execution is possible by this vulnerability.

4. Solution:

        Source code patches have been made available which fix these
        vulnerabilities. Contact your OS vendor / binary package provider
        for information about how to obtain updated binary packages.

5. Patch:

        A patch for KDE 3.5.5 is available from :

        72897a581daa9f71bdf61238f4c3e693  post-3.5.5-kdenetwork-ksirc.diff
Comment 6 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-01-14 20:45:08 UTC
(In reply to comment #5)
> Probably for the last time for me,

i really hope no

> but ksirc-3.5.5-r1 and kdenetwork-3.5.5-r2
> are now in tree.

thanks a lot Diego.

Arches, please test and mark stable these 2 ebuilds, thanks
Comment 7 Markus Meier gentoo-dev 2007-01-14 21:11:34 UTC
kde-base/ksirc-3.5.5-r1  USE="kdeenablefinal ssl -arts -debug -kdehiddenvisibility -xinerama"
1. emerges on x86
2. passes collision test
3. works

Gentoo Base System version 1.12.6
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, i686)
System uname: i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Last Sync: Sun, 14 Jan 2007 19:00:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
LINGUAS="en de en_GB de_CH"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/pack
USE="x86 X a52 aac acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa
_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via8
2xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop
 alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugin
s_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugin
s_shm alsa_pcm_plugins_softvol apache2 asf berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus divx dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fort
ran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdeenablefinal kernel_linux ldap libg++ linguas_de linguas_de_CH linguas_en linguas_en_G
B mad mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp ruby samba sdl session smp spell spl sse sse2 sse3 ssl
svg tcpd test tetex theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis win32codecs wxwindows x264 xine xml xorg xpri
nt xv xvid zlib"
Comment 8 Markus Rothe (RETIRED) gentoo-dev 2007-01-15 07:42:51 UTC
ppc64 stable
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2007-01-15 14:00:01 UTC
x86 stable
Comment 10 Gustavo Zacarias (RETIRED) gentoo-dev 2007-01-15 18:22:55 UTC
sparc stable.
Comment 11 Tobias Scherbaum (RETIRED) gentoo-dev 2007-01-15 19:05:48 UTC
ppc stable
Comment 12 Bryan Østergaard (RETIRED) gentoo-dev 2007-01-15 20:18:05 UTC
Alpha done.
Comment 13 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-01-15 23:29:27 UTC
Thanks arches, that is *very* fast :)
Comment 14 Steve Dibb (RETIRED) gentoo-dev 2007-01-23 11:05:11 UTC
amd64 stable, thanks flameeyes
Comment 15 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-02-10 18:57:04 UTC
old GLSA 200701-26
Comment 16 Raúl Porcel (RETIRED) gentoo-dev 2007-03-31 13:11:34 UTC
ia64 stable