Neue Kernel-Images bei Debian!

Rund um die Sicherheit des Systems und die Applikationen
Locked
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11
Contact:
 

Neue Kernel-Images bei Debian!

Post by arty »

Hiho,

aufgrund einiger Sicherheitslücken im Linuxkernel gibts seit heute nacht neue Kernelimages von Debian. Hier die Lücken in der Ã?bersicht:
A number of vulnerabilities have been discovered in the Linux kernel.

- - CVE-2002-0429: The iBCS routines in arch/i386/kernel/traps.c for
Linux kernels 2.4.18 and earlier on x86 systems allow local users to
kill arbitrary processes via a a binary compatibility interface
(lcall)

- - CAN-2003-0001: Multiple ethernet Network Interface Card (NIC) device
drivers do not pad frames with null bytes, which allows remote
attackers to obtain information from previous packets or kernel
memory by using malformed packets

- - CAN-2003-0127: The kernel module loader allows local users to gain
root privileges by using ptrace to attach to a child process that is
spawned by the kernel

- - CAN-2003-0244: The route cache implementation in Linux 2.4, and the
Netfilter IP conntrack module, allows remote attackers to cause a
denial of service (CPU consumption) via packets with forged source
addresses that cause a large number of hash table collisions related
to the PREROUTING chain

- - CAN-2003-0246: The ioperm system call in Linux kernel 2.4.20 and
earlier does not properly restrict privileges, which allows local
users to gain read or write access to certain I/O ports.

- - CAN-2003-0247: vulnerability in the TTY layer of the Linux kernel
2.4 allows attackers to cause a denial of service ("kernel oops")

- - CAN-2003-0248: The mxcsr code in Linux kernel 2.4 allows attackers
to modify CPU state registers via a malformed address.

- - CAN-2003-0364: The TCP/IP fragment reassembly handling in the Linux
kernel 2.4 allows remote attackers to cause a denial of service (CPU
consumption) via certain packets that cause a large number of hash
table collisions
Ein Update funktioniert so:

1. Sichern des alten Kernels per

Code: Select all

cp /lib/modules/2.4.18-bf2.4/ /lib/modules/2.4.18-bf2.4.old
2. Kernel installieren mit

Code: Select all

apt-get update
apt-get upgrade
3. Neustarten (leider....)

Code: Select all

shutdown -r now
Fertig, nach ca. 2 min ist der Server wieder online! Austausch des Kernels klappte bei mir ohne Problem! :)

bye
arty
jtb
Posts: 599
Joined: 2002-08-18 16:41
Location: Darmstadt
Contact:
 

Re: Neue Kernel-Images bei Debian!

Post by jtb »

wie wäre es mit einem cp -R

also:

Code: Select all

cp -R /lib/modules/2.4.18-bf2.4/ /lib/modules/2.4.18-bf2.4.old
Außerdem wäre ein mv viel schöner, weil dann der Installer sich nicht beschwert!

An das wichtigste hast du garnicht gedacht: der Kernel in /boot/

1. Sichern des alten Kernels / Module:

- Sichern der Module:

Code: Select all

mv /lib/modules/2.4.18-bf2.4/ /lib/modules/2.4.18-bf2.4.old
- Sichern des Kernels

Code: Select all

cp /boot/config-2.4.18-bf2.4 /boot/config-2.4.18-bf2.4.old
cp /boot/System.map-2.4.18-bf2.4 /boot/System.map-2.4.18-bf2.4.old
cp /boot/vmlinuz-2.4.18-bf2.4 /boot/vmlinuz-2.4.18-bf2.4.old
jtb
Posts: 599
Joined: 2002-08-18 16:41
Location: Darmstadt
Contact:
 

Re: Neue Kernel-Images bei Debian!

Post by jtb »

ach so, noch zwei Sachen:

4. in /var/log/syslog schauen

5. Ã?berprüfen, ob überhaupt der richtige Kernel geladen wurde

Code: Select all

uname -a
sollte folgendes ausspucken:
Linux p15105691 2.4.18-bf2.4 #1 Sun Jun 8 23:58:27 UTC 2003 i686 unknown

wichtig ist das Datum..
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11
Contact:
 

Re: Neue Kernel-Images bei Debian!

Post by arty »

Hi Jtb,

ich hab das heute früh morgen im Halbschlaf gemacht, hat aber auch bei mir so funktioniert, ich hab den richtigen Kernel. :)

bye
arty
jtb
Posts: 599
Joined: 2002-08-18 16:41
Location: Darmstadt
Contact:
 

Re: Neue Kernel-Images bei Debian!

Post by jtb »

nicht jeder kann das im Halbschlaf..

Aber irgendwie erscheint mir der Kernel langsamer.. Bis zu einer halben Sec für Pageaufbau - überlege gerade mir einen eigenen Kernel zu bauen..
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11
Contact:
 

Re: Neue Kernel-Images bei Debian!

Post by arty »

Hi Jtb,

das kann ich nicht bestätigen...

bye
arty
jtb
Posts: 599
Joined: 2002-08-18 16:41
Location: Darmstadt
Contact:
 

Re: Neue Kernel-Images bei Debian!

Post by jtb »

die anleitung oben könnte man doch fast schon als Howto machen..
Arty? hast du Lust dazu oder soll ich es zusammenschreiben?
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11
Contact:
 

Re: Neue Kernel-Images bei Debian!

Post by arty »

Hi Jtb,

ich kann das schnell machen :-)

bye
arty
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Neue Kernel-Images bei Debian!

Post by captaincrunch »

DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Locked