From owner-doc-jp@jp.freebsd.org  Sun Sep  3 09:24:51 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id JAA87319;
	Sun, 3 Sep 2000 09:24:51 +0900 (JST)
	(envelope-from owner-doc-jp@jp.FreeBSD.org)
Received: from sv01.geocities.co.jp (sv01.geocities.co.jp [210.153.89.155])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id JAA87314
	for <doc-jp@jp.freebsd.org>; Sun, 3 Sep 2000 09:24:50 +0900 (JST)
	(envelope-from hrs@geocities.co.jp)
Received: from mail.geocities.co.jp (mail.geocities.co.jp [210.153.89.137]) by sv01.geocities.co.jp (8.9.3+3.2W/3.7W) with ESMTP id JAA06429 for <doc-jp@jp.freebsd.org>; Sun, 3 Sep 2000 09:24:50 +0900 (JST)
Received: from mail.hrs.jp (sutnmax1-ppp17.ed.noda.sut.ac.jp [133.31.173.27]) by mail.geocities.co.jp (1.3G-GeocitiesJ-3.3) with ESMTP id JAA28160 for <doc-jp@jp.freebsd.org>; Sun, 3 Sep 2000 09:24:48 +0900 (JST)
Message-Id: <200009030024.JAA28160@mail.geocities.co.jp>
Received: from localhost (alph.hrs.jp [192.168.0.10])
	by mail.hrs.jp (8.9.3/3.7W/DomainMaster) with ESMTP id JAA09973
	for <doc-jp@jp.freebsd.org>; Sun, 3 Sep 2000 09:09:35 +0900 (JST)
	(envelope-from hrs@hrs.jp)
To: doc-jp@jp.freebsd.org
In-Reply-To: <20000828194112.7249837B424@hub.freebsd.org>
References: <20000828194112.7249837B424@hub.freebsd.org>
X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Sun, 03 Sep 2000 09:09:35 +0900
From: Hiroki Sato <hrs@geocities.co.jp>
X-Dispatcher: imput version 990905(IM130)
Lines: 218
Reply-To: doc-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: doc-jp 7665
Subject: [doc-jp 7665] Re: ANNOUNCE: FreeBSD Ports Security Advisory:
 FreeBSD-SA-00:39.netscape
Errors-To: owner-doc-jp@jp.freebsd.org
Sender: owner-doc-jp@jp.freebsd.org
X-Originator: hrs@geocities.co.jp

$B:4F#!wEl5~M}2JBg3X$G$9!#(B

 FreeBSD-SA-00:39.netscape $B$NK]Lu$G$9!#(B



 $B$3$N%a!<%k$O(B, announce-jp $B$KN.$l$?(B

  Subject: ANNOUNCE: FreeBSD Ports Security Advisory: FreeBSD-SA-00:39.netscape
  From: FreeBSD Security Advisories <security-advisories@freebsd.org>
  Date: Mon, 28 Aug 2000 12:41:12 -0700 (PDT)
  Message-Id: <20000828194112.7249837B424@hub.freebsd.org>
  X-Sequence: announce-jp 511

 $B$rF|K\8lLu$7$?$b$N$G$9(B. 

 $B86J8$O(B PGP $B=pL>$5$l$F$$$^$9$,(B, $B$3$NF|K\8lLu$O(B PGP $B=pL>$5$l$F$$$^$;$s(B. 
 $B%Q%C%AEy$NFbMF$,2~cb$5$l$F$$$J$$$3$H$r3NG'$9$k$?$a$K(B PGP $B$N%A%'%C%/$r(B
 $B9T$J$&$K$O(B, $B86J8$r;2>H$7$F$/$@$5$$(B. 

 $BF|K\8lLu$O(B FreeBSD $BF|K\8l%I%-%e%a%s%F!<%7%g%s%W%m%8%'%/%H(B(doc-jp)$B$,;29M$N(B
 $B$?$a$KDs6!$9$k$b$N$G(B, doc-jp $B$O(B $B$=$NFbMF$K$D$$$F$$$+$J$kJ]>Z$b$$$?$7$^$;$s(B.
 $BF|K\8lLu$K$D$$$F$N$*Ld$$9g$o$;$O(B doc-jp@jp.FreeBSD.org $B$^$G$*4j$$$7$^$9(B.

--($B$3$3$+$i(B)
=============================================================================
FreeBSD-SA-00:39                                           Security Advisory
                                                                FreeBSD, Inc.

$B%H%T%C%/(B:       Two vulnerabilities in Netscape

$BJ,N`(B:           ports
$B%b%8%e!<%k(B:     netscape
$B9pCNF|(B:         2000-08-28
$B%/%l%8%C%H(B:     Solar Designer <solar@FALSE.COM> (Vulnerability #1)
                Dan Brumleve <dan+Bsecurity@brumleve.com> (Vulnerability #2)
$B1F6AHO0O(B:       Ports collection prior to the correction date.
                $B=$@5F|0JA0$N(B Ports Collection
$B=$@5F|(B:         2000-08-19
$B%Y%s%@$NBP1~(B:   Updated version released
                $B=$@5HG$,8x3+:Q$_(B
FreeBSD $B$K8GM-$+(B:   NO

I.   $BGX7J(B - Background

Netscape is a popular web browser, available in several versions in
the FreeBSD ports collection.

netscape $B$O?M5$$N$"$k%&%'%V%V%i%&%6$G$9(B.
FreeBSD Ports Collection $B$K$O(B, $B$$$/$D$+$N%P!<%8%g%s$,B8:_$7$^$9(B.

II.  $BLdBj$N>\:Y(B - Problem Description

There are two security problems in recent versions of netscape:
$B:G6a$N%P!<%8%g%s$N(B netscape $B$K$O(B, $B%;%-%e%j%F%#>e$NLdBjE@$,Fs$D$"$j$^$9(B.

1) Versions prior to 4.74

1) $B%P!<%8%g%s(B 4.74 $B0JA0(B

A client-side exploit may be possible through a buffer overflow in
JPEG-handling code. Although an exploit is not known, attackers may be
able to execute arbitrary code on the local machine as the user
running netscape, or at the very least cause the netscape binary to
crash.

JPEG $B$r07$&%3!<%I$K4^$^$l$k%P%C%U%!%*!<%P%U%m!<LdBj$r(B
$B%/%i%$%"%s%H$+$i0-MQ$9$k$3$H$,$G$-$k2DG=@-$,$"$j$^$9(B.
$B0-MQ$N$?$a$N%3!<%I$OCN$i$l$F$$$^$;$s$,(B, $B967b<T$O(B
$B%m!<%+%k%^%7%s>e$N(B netscape $B$r<B9T$7$F$$$k%f!<%6$N8"8B$G(B
$BG$0U$N%3!<%I$r<B9T$9$k$3$H$,2DG=$G$"$k$+(B, $B$"$k$$$O>/$J$/$H$b(B,
$B<B9T$7$F$$$k(B netscape $B%P%$%J%j$r%/%i%C%7%e$5$;$k$3$H$O==J,2DG=$G$7$g$&(B.

2) Versions prior to 4.75

2) $B%P!<%8%g%s(B 4.75 $B0JA0(B

The Java Virtual Machine implementation has security vulnerabilities
allowing a remote user to read the contents of local files accessible
to the user running netscape, and to allow these files to be
transmitted to any user on the internet.

$B3:Ev$9$k%P!<%8%g%s$N(B Java $B2>A[%^%7%s<BAu$K$O(B, $B%j%b!<%H%f!<%6$,(B
netscape $B$r<B9T$7$F$$$k%f!<%6$,%"%/%;%92DG=$J%m!<%+%k%U%!%$%k$NFbMF$r(B
$BFI$`$3$H$,$G$-(B, $B$5$i$K$=$l$i$N%U%!%$%k$r%$%s%?!<%M%C%H>e$N(B
$B$9$Y$F$N%f!<%6$KAw?.$9$k$3$H$,$G$-$k$H$$$&%;%-%e%j%F%#>e$N<eE@$,B8:_$7$^$9(B.

The netscape ports are not installed by default, nor are they "part of
FreeBSD" as such: they are part of the FreeBSD ports collection, which
contains over 3700 third-party applications in a ready-to-install
format. The ports collections shipped with FreeBSD 3.5 and 4.1 are
vulnerable to these problems.

FreeBSD makes no claim about the security of these third-party
applications, although an effort is underway to provide a security
audit of the most security-critical ports.

netscape $B$N(B port $B$O%G%U%)%k%H$G%$%s%9%H!<%k$5$l$k$b$N$G$O$J$/(B,
FreeBSD $B%7%9%F%`$N0lIt$r9=@.$9$k$b$N$G$b$"$j$^$;$s(B. $B$=$l$i$O(B
3700 $B$r1[$($k%5!<%I%Q!<%F%#@=%"%W%j%1!<%7%g%s$,$9$0$K(B
$B%$%s%9%H!<%k$G$-$k7A$G<}$a$i$l$F$$$k(B FreeBSD Ports Collection $B$N0lIt$G$9(B.
FreeBSD 3.5 $B$*$h$S(B 4.1 $B$H$H$b$K=P2Y$5$l$?(B Ports Collection $B$O(B
$B$3$NLdBj$r4^$s$G$$$^$9(B.

FreeBSD $B$G$O(B, $B$3$N$h$&$J%5!<%I%Q!<%F%#@=%"%W%j%1!<%7%g%s$N%;%-%e%j%F%#(B
$BLdBj$KBP$7$F(B, $BFC$K2?$+$r<gD%$9$k$3$H$O$"$j$^$;$s(B($BLuCm(B: Ports Collection $B$K(B
$BF~$C$F$$$k$+$i$H$$$C$F(B, FreeBSD $B$N3+H/<T$?$A$,$=$N%"%W%j%1!<%7%g%s$,(B
$B0BA4$G$"$k$HI>2A$7$?$o$1$G$O$"$j$^$;$s(B). $B$?$@$7(B, $B%;%-%e%j%F%#LdBj$KBP$7$F(B
$BBg$-$J1F6A$r;}$D$h$&$J(B ports $B$KBP$9$k%;%-%e%j%F%#4F::$rDs6!$9$Y$/(B,
$B8=:_EXNOCf$G$9(B.

III. $B1F6AHO0O(B - Impact

Remote users can read files on the local system accessible to the user
running netscape, if java is enabled, and may be able to execute
arbitrary code on the local system as that user.

$B%j%b!<%H%f!<%6$O(B, netscape $B$r<B9T$7$F$$$k%f!<%6$,%"%/%;%92DG=$J(B,
$B%m!<%+%k%7%9%F%`>e$N%U%!%$%k$rFI$`$3$H$,$G$-$^$9(B.
$B$^$?(B, java $B$,M-8z2=$5$l$F$$$k>l9g$K$O(B, $B%m!<%+%k%7%9%F%`>e$N(B
$B$=$N%f!<%6$N8"8B$GG$0U$N%3!<%I$r<B9T$G$-$k2DG=@-$,$"$j$^$9(B.

If you have not chosen to install a netscape port/package, then your
system is not vulnerable to this problem.

netscape $B$N(B port/package $B$r%$%s%9%H!<%k$7$F$$$J$1$l$P(B,
$B%7%9%F%`$K$3$NLdBj$K$h$k%;%-%e%j%F%#>e$N<eE@$O$"$j$^$;$s(B.

IV.  $B=$@5=hCV(B - Workaround

Deinstall the netscape port/package, if you you have installed it.

netscape $B$N(B port/package $B$,%$%s%9%H!<%k$5$l$F$$$k>l9g$O(B,
$B$=$l$r%7%9%F%`$+$i:o=|$7$F$/$@$5$$(B. 

Vulnerability 2) can be worked around by disabling Java in the
"Advanced" section of the Preferences control panel. Vulnerability 1)
can be worked around by disabling the "Automatically load images"
option in the same location, although this is not a very practical
workaround.

2) $B$N<eE@$O(B Preference $B%3%s%H%m!<%k%Q%M%k$N(B "Advanced" $B%;%/%7%g%s$K$"$k(B
Java $B$rL58z2=$9$k$3$H$G2r7h$9$k$3$H$,$G$-$^$9(B.  $B$^$?(B, 1) $B$N<eE@$O(B
$BF1$8$H$3$m$K$"$k(B "Automatically load images" $B$rL58z2=$9$k$3$H$G(B
$B2r7h$9$k$3$H$,$G$-$^$9$,(B, $B$3$l$O$"$^$j<BMQE*$JBP:v$G$O$"$j$^$;$s(B.

 [$BLuCm(B]
        $BF|K\8l2=$5$l$?(B netscape $B$r;H$C$F$$$k>l9g$O(B,
        [$BJT=8(B] - [$B@_Dj(B(preference)] - [$B>\:Y(B(advanced)] $B$,(B
        "Advanced" $B%;%/%7%g%s$K(B, $B$=$N%;%/%7%g%s$GI=<($5$l$k(B
        $B!V<+F0E*$K2hA|$d$=$NB>$N%G!<%?%?%$%W$rFI$_9~$`!W$,(B
        "Automatically load images" $B$KBP1~$7$^$9(B.

V.   $BBP1~:v(B - Solution

One of the following:
$B<!$N$$$:$l$+$K=>$C$F$/$@$5$$(B.

1) Upgrade your entire ports collection and rebuild the relevant
netscape port.

1) Ports Collection $BA4BN$r%"%C%W%0%l!<%I$7(B, $BBP1~$9$k(B netscape $B$N(B
port $B$r:F9=C[$7$^$9(B.

2) Deinstall the old package and install a new package dated after the
correction date, obtained from the following directories:

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-3-stable/www/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/www/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-4-stable/www/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5-current/www/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-5-current/www/

Since there are so many variations of the netscape ports in the
FreeBSD ports collection they are not listed separately
here. Localized versions are also available in the respective language
subdirectory.

2) $B8E$$(B ($BLuCm(B: netscape $B$N(B) package $B$r%7%9%F%`$+$i:o=|$7(B,
   $B=$@5F|0J9_$K:n@.$5$l$??7$7$$(B package $B$r0J2<$N%G%#%l%/%H%j$+$i(B
   $B<hF@$7$F%$%s%9%H!<%k$7$^$9(B.

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-3-stable/www/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/www/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-4-stable/www/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5-current/www/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-5-current/www/

3) download a new port skeleton for the netscape port from:

http://www.freebsd.org/ports/

and use it to rebuild the port.

3) netscape port $B$N?7$7$$(B port $B%9%1%k%H%s$r0J2<$N>l=j$+$i%@%&%s%m!<%I$7(B,
   $B$=$l$r;H$C$F(B port $B$r:F9=C[$7$^$9(B.

http://www.freebsd.org/ports/

4) Use the portcheckout utility to automate option (3) above. The
portcheckout port is available in /usr/ports/devel/portcheckout or the
package can be obtained from:

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-3-stable/devel/portcheckout-2.0.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/devel/portcheckout-2.0.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-4-stable/devel/portcheckout-2.0.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5-current/devel/portcheckout-2.0.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-5-current/devel/portcheckout-2.0.tgz

4) $B>e5-(B (3) $B$NA`:n$r<+F0E*$K9T$J$&(B portcheckout $B%f!<%F%#%j%F%#$r;H$$$^$9(B.
   portcheckout $B$N(B port $B$O(B /usr/ports/devel/portcheckout $B$K$"$j$^$9(B.
   $B$^$?(B, portcheckout $B$N(B package $B$,0J2<$N>l=j$+$iF~<j2DG=$G$9(B.

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-3-stable/devel/portcheckout-2.0.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/devel/portcheckout-2.0.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-4-stable/devel/portcheckout-2.0.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5-current/devel/portcheckout-2.0.tgz
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha/packages-5-current/devel/portcheckout-2.0.tgz
