CVE Catalog

CVE-2006-1078

High
Published: Translated: NVD NIST

Summary

Multiple buffer overflows in htpasswd, used in Acme thttpd 2.25b and possibly other products like Apache, may allow local users to gain privileges via a long command line argument or a long line in a file.

Risk Assessment

The risk for the organization is potential privilege escalation by a local user, which could lead to unauthorized system access. However, the issue is limited because htpasswd is typically not installed as a setuid program and the attack requires command line access.

Recommendation

It is recommended to update to the latest version of thttpd or Apache if used. Also, avoid running htpasswd with elevated privileges (e.g., via sudo) and restrict access to trusted users only.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS