Gentoo: Oops! Remote code execution
Posted by Benjamin D. Thomas   
Gentoo The Oops! proxy server contains a remotely exploitable format string vulnerability, which could potentially lead to the execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200505-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: Oops!: Remote code execution
      Date: May 05, 2005
      Bugs: #91303
        ID: 200505-02

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

Synopsis
========

The Oops! proxy server contains a remotely exploitable format string
vulnerability, which could potentially lead to the execution of
arbitrary code.

Background
==========

Oops! is an advanced, multithreaded caching web proxy.

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

    -------------------------------------------------------------------
     Package         /       Vulnerable       /             Unaffected
    -------------------------------------------------------------------
  1  net-proxy/oops     < 1.5.24_pre20050503     >= 1.5.24_pre20050503

Description
===========

A format string flaw has been detected in the my_xlog() function of the
Oops! proxy, which is called by the passwd_mysql and passwd_pgsql
module's auth() functions.

Impact
======

A remote attacker could send a specially crafted HTTP request to the
Oops! proxy, potentially triggering this vulnerability and leading to
the execution of arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Oops! users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-proxy/oops-1.5.24_pre20050503"

References
==========

  [ 1 ] CAN-2005-1121
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1121

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

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

  http://security.gentoo.org/glsa/glsa-200505-02.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