CVE Catalog

CVE-2006-1079

High
Published: Translated: NVD NIST

Summary

A vulnerability in htpasswd used in Acme thttpd 2.25b and possibly other products like Apache allows local users to gain privileges via shell metacharacters in command line arguments passed to the system function.

Risk Assessment

The risk involves potential privilege escalation by local users if htpasswd is run with elevated privileges (e.g., via sudo) or in remote access configurations.

Recommendation

Avoid using htpasswd with elevated privileges and validate command line arguments. Consider using safer alternatives or updating to a newer version.

Related vulnerabilities

Original NVD description (English source)

htpasswd, as used in Acme thttpd 2.25b and possibly other products such as Apache, might allow local users to gain privileges via shell metacharacters in a command line argument, which is used in a call to the system function. 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