Buffer overrun in mini_httpd and thttpd - CVE-2017-17663

 

Buffer overrun in mini_httpd and thttpd - CVE-2017-17663

Published: February 7, 2018 / Updated: March 20, 2018


Vulnerability identifier: #VU10391
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-17663
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ACME Labs
Affected software:
mini_httpd
thttpd

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists in ACME Labs mini_httpd and thttpd due to buffer overrun when handling user-supplied input. A remote attacker send specially crafted input,  trigger memory corruption, execute htpasswd commands and arbitrary code with privileges of the current user.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2017-17663

Update mini_httpd to version 1.28.
Update thttpd to version 2.28.

Sources