Gentoo: monkeyd Multiple vulnerabilities
Posted by Benjamin D. Thomas   
Gentoo Format string and Denial of Service vulnerabilities have been discovered in the monkeyd HTTP server, potentially resulting in the execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200504-14
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: monkeyd: Multiple vulnerabilities
      Date: April 15, 2005
      Bugs: #87916
        ID: 200504-14

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

Background
==========

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

Affected packages
=================

    -------------------------------------------------------------------
     Package              /  Vulnerable  /                  Unaffected
    -------------------------------------------------------------------
  1  www-servers/monkeyd       < 0.9.1                        >= 0.9.1

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"

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200504-14.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0