sobota, 11 października 2008 
Start arrow Security Advisory arrow FreeBSD arrow FreeBSD-SA-04:09.kadmind
Menu BSD4u
FreeBSD
OpenBSD
NetBSD
Dla *BSD
FAQ BSD4u
Forum BSDGuru.org
Security Advisory
Licencje
Images BSD
Menu ogólne
Start
Aktualności
Download
Sondy
Szukaj
Linki
Książki
About BSD4u
Info
Team BSD4u
Regulamin
Kanał #BSD4u
Kontakt
Sondy
Co sądzisz o naszym nowym Projekcie, i jak oceniasz zmianę koncepcji Projektu?
 
Popularne
Kompilacja i konfigu...
SQUID - najpopularni...
Neostrada+ i modem ...
NATowanie czyli jak ...
Samba - serwer plikó...
Upgrade systemu
Apache (konfiguracja...
Praktyczne IPFW
MRTG - statystyki ru...
CVSup - pomocny podc...
Neostrada na modemie...
Postfix z autoryzacj...
Postfix - bezpieczny...
System Portów (Kolek...
Dummynet - dzielenie...
Top Download
File icon Postfix - "Krok po kroku" v1.06589
File icon Postfix - "Krok po kroku" v1.16508
File icon PPTPd - "Prosty i szybki VPN" v1.0b6043
File icon sdi.sh3839
File icon uEagle 1.0p12961
File icon named.sh2906
File icon uEagle 0.99b2861
File icon cs.sh2784
File icon uEagle 1.02752
File icon uEagle 1.12555
Ostatnie komentarze
transparent a virus...
Dodał: grzywka18
Dnia: 2008-05-13 11:19:58
hmm
Dodał: dzibi
Dnia: 2007-12-12 10:01:14
Bez tytułu
Dodał: grzywka18
Dnia: 2007-12-11 17:46:06
Bez tytułu
Dodał: termid
Dnia: 2007-05-09 18:01:11
Bez tytułu
Dodał: sarelo33
Dnia: 2006-12-30 23:50:14
Jest ok ale..
Dodał: theviant
Dnia: 2006-11-16 08:10:05
Google

Google


Newsletter
Zapisz się na nasz newsletter, jeżeli chcesz być na bieżąco informowany o aktualnościach..




FreeBSD-SA-04:09.kadmind Drukuj E-mail
Oceny: / 0
KiepskiBardzo dobry 
czwartek, 06 maja 2004 - Napisał: Artur Kulda (2040 odsłon)
Topic: heimdal kadmind remote heap buffer overflow
Category: contrib
Module: crypto_heimdal
Announced: 2004-05-05
Credits: Evgeny Demidov, VulnDisco, Love Hornquist-Astrand
Affects: FreeBSD 4 systems built with both Kerberos 4 and Kerberos 5.
FreeBSD 5 systems prior to 5.1 built with both Kerberos 4 and Kerberos 5.
Corrected:     
        2004-05-05 20:19:48 UTC (RELENG_4, 4.10-PRERELEASE)
        2004-05-05 20:48:57 UTC (RELENG_4_10, 4.10-RELEASE-RC)
        2004-05-05 20:15:56 UTC (RELENG_4_9, 4.9-RELEASE-p7)
        2004-05-05 20:17:51 UTC (RELENG_4_8, 4.8-RELEASE-p20)

CVE Name:       CAN-2004-0434
FreeBSD only:   NO

For general information regarding FreeBSD Security Advisories,
including descriptions of the fields above, security branches, and the
following sections, please visit
<URL:http://www.freebsd.org/security/>.

I.   Background

Heimdal implements the Kerberos 5 network authentication protocols.
The k5admind(8) daemon provides the administrative interface to the
Kerberos Key Distribution Center (KDC).  In some configurations,
k5admind also includes Kerberos 4 compatibility.

NOTE: FreeBSD versions prior to 5.1-RELEASE contain optional Kerberos
4 support.  FreeBSD versions 5.1-RELEASE and later do not include
Kerberos 4 support of any kind.

II.  Problem Description

An input validation error was discovered in the k5admind code that
handles the framing of Kerberos 4 compatibility administration
requests.  The code assumed that the length given in the framing was
always two or more bytes.  Smaller lengths will cause k5admind to read
an arbitrary amount of data into a minimally-sized buffer on the heap.

Note that this code is not present unless k5admind has been compiled
with Kerberos 4 support.  This will occur if a FreeBSD system is
compiled with both of the WITH_KERBEROS4 and WITH_KERBEROS5 build flags.
These flags are never simultaneously set during the FreeBSD binary
release process; consequently, binary installs of FreeBSD (even with
Kerberos support installed) are not affected.

III. Impact

A remote attacker may send a specially formatted message to k5admind,
causing it to crash or possibly resulting in arbitrary code execution.

IV.  Workaround

Disable the Kerberos 4 support in k5admind by running it with the
`--no-kerberos4' option.

V.   Solution

Perform one of the following:

1) Upgrade your vulnerable system to 4-STABLE; or to the RELENG_4_9 or
RELENG_4_8 security branch dated after the correction date.

2) To patch your present system:

The following patches have been verified to apply to FreeBSD 4.8 and
4.9.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:09/kadmind.patch
# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:09/kadmind.patch.asc

b) Execute the following commands as root:

# cd /usr/src
# patch < /path/to/patch
# cd /usr/src/kerberos5/tools
# make obj && make depend && make
# cd /usr/src/kerberos5/lib
# make obj && make depend && make
# cd /usr/src/kerberos5/libexec/k5admind
# make obj && make depend && make all install

VI.  Correction details

The following list contains the revision numbers of each file that was
corrected in FreeBSD.

Branch                                                                                    Revision
           Path
--------------------------------------------------------------------------------------

RELENG_4
src/crypto/heimdal/kadmin/version4.c 1.1.1.1.2.6
RELENG_4_10
src/crypto/heimdal/kadmin/version4.c 1.1.1.1.2.5.6.1
RELENG_4_9
  src/UPDATING                     1.73.2.89.2.8
  src/crypto/heimdal/kadmin/version4.c 1.1.1.1.2.5.4.1
src/sys/conf/newvers.sh   1.44.2.32.2.8
RELENG_4_8
  src/UPDATING       1.73.2.80.2.23
  src/crypto/heimdal/kadmin/version4.c 1.1.1.1.2.5.2.1
src/sys/conf/newvers.sh   1.44.2.29.2.21

--------------------------------------------------------------------------------------

 


« wstecz   dalej »
Ciekawostki
Możesz na stałe ustawić wartości zmiennych środowiskowych, dodając je do pliku startowego twojego shell'a. Nazwy tych plików różnią się w zależności od shell'a jakiego używasz - tcsh i csh używają .login, a bash, sh ,ksh i zsh .profile. Używając bash, sh, ksh lub zsh, nie zapomnij o wyeksportowaniu zmiennej.
Pobierz
FreeBSD
OpenBSD
NetBSD
DragonFlyBSD
PC-BSD
FreeSBIE LiveCD
4.4BSD Lite
Reklama M3M.pl
Domeny
Książki

FreeBSD. Księga eksperta

FreeBSD. Księga eksperta

Cena: 125.00 zł
Dodaj do koszyka


FreeBSD. Podstawy administracji systemem

FreebBSD

Cena: 64.90 zł
Dodaj do koszyka


OpenBSD. Podstawy administracji systemem

OpenBSD

Cena: 84.90 zł
Dodaj do koszyka


OpenBSD. Tworzenie firewalla za pomocą PF

Firewall PF

Cena: 44.90 zł
Dodaj do koszyka

Licznik odwiedzin
Odwiedziło już nas
2462663
Internautów od lutego 2003

Korzystamy ze statysyk