From owner-freebsd-questions@FreeBSD.ORG Tue Nov 10 06:59:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DB1F1065670 for ; Tue, 10 Nov 2009 06:59:31 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 08FB68FC18 for ; Tue, 10 Nov 2009 06:59:30 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nAA6xPvZ084109; Tue, 10 Nov 2009 06:59:26 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nAA6xPvZ084109 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1257836366; bh=vnBFSFvlcAWv5U87c29C5XD8w7mB/Tsm92k8u7h2v8c=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AF90F44.1070509@infracaninophile.co.uk>|Date:=20T ue,=2010=20Nov=202009=2006:59:16=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20arek@wup-katowice.pl|CC:=20freebsd-questions@free bsd.org|Subject:=20Re:=20php4-gd|References:=20<4AF90A6E.3040907@w up-katowice.pl>|In-Reply-To:=20<4AF90A6E.3040907@wup-katowice.pl>| X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B=2 0micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signat ure"=3B=0D=0A=20boundary=3D"------------enig2728D1844DAD40C2477CC6 03"; b=I/iaOTHAKYLuGmLOeYNqrz0C+0yNS5qnGQz2/DGOA/MW+mcx3YUFfUajRNGkvM9lA g2ttlKiYg6Ek2MaV9GTyYT6Nxl8sTZbYAB5qd1NJrb13ofJ8OSS8U9HI3B2OUEYl5i 0GIY/Ap0U3ZfvkJKUl4eePNg/sV9P1yooyjuxvxY= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AF90F44.1070509@infracaninophile.co.uk> Date: Tue, 10 Nov 2009 06:59:16 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: arek@wup-katowice.pl References: <4AF90A6E.3040907@wup-katowice.pl> In-Reply-To: <4AF90A6E.3040907@wup-katowice.pl> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig2728D1844DAD40C2477CC603" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: php4-gd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2009 06:59:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2728D1844DAD40C2477CC603 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Arek Czereszewski wrote: > Hello, >=20 > I have on some web servers php4-gd port installed > and I am totally confused. > Portaudit says >=20 > Affected package: php4-gd-4.4.9 > Type of problem: gd -- '_gdGetColors' remote buffer overflow > vulnerability. > Reference:=20 > >=20 > On this site is info about: 5.2.11 and 5.3.0 >=20 > On Securityfocus is info also about 4.4.9 > but on cve.mitre.org is not. >=20 > Any idea where is the true? > Are my servers with php4-gd are secure or not? This is a bug in the underlying gd library rather than in PHP itself. The= re are fixes to two related ports: if you've updated graphics/gd to the la= test version (gd-2.0.35_2,1), and built the latest port revision of the php5-g= d module (which is php5-gd-5.2.11_2) then those should have been secured.= However, the PHP4 version of the gd module is still at version=20 php4-gd-4.4.9, and doesn't seem to have been patched -- there is no patch= for CVE-2009-3546 in the php4 sources -- so it seems you are still vulner= able when using PHP4. This is to be expected: the PHP project is deprecating = PHP4 and putting all their effort in to developing PHP5 instead. Patches may be forthcoming eventually, but who knows when? Basically, if you're running PHP4 on a public site then you should be mak= ing plans to upgrade to PHP5 ASAP.=20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig2728D1844DAD40C2477CC603 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkr5D00ACgkQ8Mjk52CukIxwPQCfQN+LrM/CVGnq1zsSKR2wqfxp 4w4AoIY0X9T5EofK/LsQy8StBad73QwH =0RIU -----END PGP SIGNATURE----- --------------enig2728D1844DAD40C2477CC603--