monkeyd: Multiple vulnerabilities — GLSA 200504-14

Format string and Denial of Service vulnerabilities have been discovered in the monkeyd HTTP server, potentially resulting in the execution of arbitrary code.

Affected packages

www-servers/monkeyd on all architectures
Affected versions < 0.9.1
Unaffected versions >= 0.9.1

Background

monkeyd is a fast, efficient, small and easy to configure web server for Linux.

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team discovered a double expansion error in monkeyd, resulting in a format string vulnerability. Ciaran McCreesh of Gentoo Linux discovered a Denial of Service vulnerability, a syntax error caused monkeyd to zero out unallocated memory should a zero byte file be requested.

Impact

The format string vulnerability could allow an attacker to send a specially crafted request to the monkeyd server, resulting in the execution of arbitrary code with the permissions of the user running monkeyd. The DoS vulnerability could allow an attacker to disrupt the operation of the web server, should a zero byte file be accessible.

Workaround

There is no known workaround at this time.

Resolution

All monkeyd users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-servers/monkeyd-0.9.1"

References

Release date
April 15, 2005

Latest revision
May 22, 2006: 02

Severity
high

Exploitable
remote

Bugzilla entries