Apache htpasswd buffer overflow

apache-htpasswd-bo (17413) The risk level is classified as MediumMedium Risk

Description:

Apache HTTP Server is vulnerable to a stack-based buffer overflow in the htpasswd.c file, caused by improper bounds checking of the user and passwd variables. A local attacker, within the same permissions assigned to the attacker, could exploit this vulnerability to overflow a buffer and execute arbitrary code on the system.

Platforms Affected:

  • Apache, HTTP Server 1.3
  • Apache, HTTP Server 1.3.0
  • Apache, HTTP Server 1.3.1
  • Apache, HTTP Server 1.3.10
  • Apache, HTTP Server 1.3.11
  • Apache, HTTP Server 1.3.12
  • Apache, HTTP Server 1.3.13
  • Apache, HTTP Server 1.3.14
  • Apache, HTTP Server 1.3.15
  • Apache, HTTP Server 1.3.16
  • Apache, HTTP Server 1.3.17
  • Apache, HTTP Server 1.3.18
  • Apache, HTTP Server 1.3.19
  • Apache, HTTP Server 1.3.2
  • Apache, HTTP Server 1.3.20
  • Apache, HTTP Server 1.3.22
  • Apache, HTTP Server 1.3.23
  • Apache, HTTP Server 1.3.24
  • Apache, HTTP Server 1.3.25
  • Apache, HTTP Server 1.3.26
  • Apache, HTTP Server 1.3.27
  • Apache, HTTP Server 1.3.28
  • Apache, HTTP Server 1.3.29
  • Apache, HTTP Server 1.3.3
  • Apache, HTTP Server 1.3.30
  • Apache, HTTP Server 1.3.31
  • Apache, HTTP Server 1.3.32
  • Apache, HTTP Server 1.3.33
  • Canonical, Ubuntu 4.10

Remedy:

For Ubuntu Linux:
Refer to USN-133-1 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Other

References:

Reported:

Sep 16, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page