Description
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.
References
- 20060305 htpasswd bufferoverflow and command execution in thttpd-2.25b. mailing-list
- [thttpd] 20060305 Re: htpasswd.c security issues mailing-list
- thttpd-command-line-bo(25217) vdb-entry
- 16972 vdb-entry
- 23828 vdb-entry
- [thttpd] 20060305 htpasswd.c security issues mailing-list
- 20231127 SEC Consult SA-20231122 :: Multiple Vulnerabilities in m-privacy TightGate-Pro mailing-list
- http://packetstormsecurity.com/files/175949/m-privacy-TightGate-Pro-Code-Execution-Insecure-Permissions.html