ACME Labs mini_httpd and thttpd htpasswd Buffer Overrun Vulnerability
A vulnerability in ACME Labs mini_httpd and thttpd could allow an unauthenticated, remote attacker to execute arbitrary code on a targeted system.
The vulnerability is due to improper memory operations performed by the affected software when handling user-supplied input. An attacker who is able to execute htpasswd commands on a targeted system could exploit this vulnerability by sending crafted input to the system. A successful exploit could trigger a buffer overrun condition that the attacker could use to execute arbitrary code with the privileges of the web server user.
ACME Labs has confirmed the vulnerability and released software updates.
CVE Number – CVE-2017-17663
-
To exploit this vulnerability, an attacker must be able to execute htpasswd commands on a targeted system. Administrators of web sites are typically the users that use the htpasswd command to create and update files used to store usernames and passwords for basic authentication of other web users. The requirement to execute htpasswd commands reduces the likelihood of a successful exploit.
-
Administrators are advised to apply the appropriate updates.
Administrators are advised to allow only trusted users to have network access.
Administrators are advised to allow only privileged users to access administration or management systems.
Administrators are advised to monitor affected systems.
-
ACME Labs has released a security update at the following link: ACME Updates
FreeBSD has released a VuXML document at the following link: mini_httpd,thttpd — Buffer overflow in htpasswd
-
ACME Labs has released software updates at the following links:
FreeBSD has released ports collection updates at the following link: Ports Collection Index

Duncan is a technology professional with over 20 years experience of working in various IT roles. He has a interest in cyber security, and has a wide range of other skills in radio, electronics and telecommunications.