ID CVE-2006-1078
Summary Multiple buffer overflows in htpasswd, as used in Acme thttpd 2.25b, and possibly other products such as Apache, might allow local users to gain privileges via (1) a long command line argument and (2) a long line in a file. NOTE: since htpasswd is normally installed as a non-setuid program, and the exploit is through command line options, perhaps this issue should not be included in CVE. However, if there are some typical or recommended configurations that use htpasswd with sudo privileges, or common products that access htpasswd remotely, then perhaps it should be included.
References
Vulnerable Configurations
  • cpe:2.3:a:acme_labs:thttpd:2.25b
    cpe:2.3:a:acme_labs:thttpd:2.25b
CVSS
Base: 7.2 (as of 09-03-2006 - 08:47)
Impact:
Exploitability:
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
nessus via4
NASL family Web Servers
NASL id ACME_THTTPD_2_26.NASL
description According to its banner, the version of Acme thttpd server running on the remote host is prior to 2.26. It is, therefore, affected by multiple vulnerabilities : - Multiple buffer overflow conditions exist in the htpasswd utility. A local attacker can exploit these, by calling htpasswd and supplying arbitrary commands along with a username to be added to the password file, to bypass required authentication and execute arbitrary programs with elevated privileges. (CVE-2006-1078) - A flaw exists in htpasswd that allows a local attacker to gain privileges via shell metacharacters in a command line argument, which can then be used to execute other commands. (CVE-2006-1079) - An unspecified flaw exists that allows a local attacker to create or touch arbitrary files via a symlink attack on the start_thttpd temporary file. (CVE-2006-4248) Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
last seen 2019-02-21
modified 2018-11-15
plugin id 97144
published 2017-02-14
reporter Tenable
source https://www.tenable.com/plugins/index.php?view=single&id=97144
title Acme thttpd < 2.26 Multiple Vulnerabilities
refmap via4
bid 16972
bugtraq
  • 20041029 Re: local buffer overflow in htpasswd for apache 1.3.31 not fixed in .33?
  • 20060305 htpasswd bufferoverflow and command execution in thttpd-2.25b.
fulldisc
  • 20040916 FlowSecurity.org: Local Stack Overflow on htpasswd apache 1.3.31 advsory.
  • 20041029 Apache 1.3.33 local buffer overflow in apache 1.3.31 not fixed in .33?
  • 20070102 Apache 1.3.37 htpasswd buffer overflow vulnerability
misc
mlist
  • [thttpd] 20060305 Re: htpasswd.c security issues
  • [thttpd] 20060305 htpasswd.c security issues
xf
  • apache-htpasswd-strcpy-bo(31236)
  • thttpd-command-file-bo(25216)
Last major update 17-10-2016 - 23:39
Published 08-03-2006 - 19:02
Last modified 18-10-2018 - 12:30
Back to Top