Gentoo Logo

mini_httpd: Arbitrary code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201206-27 / mini_httpd
Release Date June 24, 2012
Latest Revision June 24, 2012: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-servers/mini_httpd revision <= 1.19 All supported architectures

Related bugreports: #303755


A vulnerability in mini_httpd could allow remote attackers to execute arbitrary code.

2.  Impact Information


mini_httpd is a small webserver with optional SSL and IPv6 support.


mini_httpd does not properly check for shell escapes when parsing HTTP requests.


A remote attacker could send specially crafted HTTP requests, possibly resulting in execution of arbitrary code with the privileges of the process, or allowing for overwriting of files.

3.  Resolution Information


There is no known workaround at this time.


Gentoo discontinued support for mini_httpd. We recommend that users unmerge mini_httpd:

Code Listing 3.1: Resolution

  # emerge --unmerge "www-servers/mini_httpd"

4.  References


Page updated June 24, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.