[37183] in bugtraq

home help back first fref pref prev next nref lref last post

Re: local buffer overflow in htpasswd for apache 1.3.31 not fixed in .33?

daemon@ATHENA.MIT.EDU (Henning Brauer)
Tue Nov 2 08:37:44 2004

Date: Mon, 1 Nov 2004 16:55:22 +0100
From: Henning Brauer <henning@openbsd.org>
To: bugtraq@securityfocus.com
Message-ID: <20041101155522.GJ23863@skywalker.bsws.de>
Mail-Followup-To: bugtraq@securityfocus.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20041029175651.GB28655@vapid.dhs.org>

* Larry Cashdollar <lwc@vapid.ath.cx> [2004-10-30 10:49]:
> This was posted on the full-disclosure list sept 16 2004 by
> Luiz Fernando.
> 
> http://archives.neohapsis.com/archives/fulldisclosure/2004-09/0547.html
> 
> The nessus check for this vulnerability recommends upgrading to
> Apache version 1.3.32:
> 
> http://cgi.nessus.org/plugins/dump.php3?id=14771
> 
> But in Apache 1.3.33:
> 
> lachoy# grep strcpy /install/src/apache_1.3.33/src/support/htpasswd.c
>     strcpy(record, user);
>         strcpy(pwfilename, argv[i]);
>     strcpy(user, argv[i + 1]);
>         strcpy(password, argv[i + 2]);
>             strcpy(scratch, line);
> 
> It is still vulnerable.

This was fixed in OpenBSD's apache 2003/04/08, over 18 months ago.

home help back first fref pref prev next nref lref last post