[Full-disclosure] [gentoo-announce] [ GLSA 200507-10 ] Ruby: Arbitrary command execution through XML-RPC

Thierry Carrez koon at gentoo.org
Mon Jul 11 15:42:40 BST 2005


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200507-10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: Ruby: Arbitrary command execution through XML-RPC
      Date: July 11, 2005
      Bugs: #96784
        ID: 200507-10

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

Synopsis
========

A vulnerability in XMLRPC.iPIMethods allows remote attackers to execute
arbitrary commands.

Background
==========

Ruby is an interpreted scripting language for quick and easy
object-oriented programming. XML-RPC is a remote procedure call
protocol encoded in XML.

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

    -------------------------------------------------------------------
     Package        /  Vulnerable  /                        Unaffected
    -------------------------------------------------------------------
  1  dev-lang/ruby     < 1.8.2-r2                          >= 1.8.2-r2

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

Nobuhiro IMAI reported that an invalid default value in "utils.rb"
causes the security protections of the XML-RPC server to fail.

Impact
======

A remote attacker could exploit this vulnerability to execute arbitrary
commands.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Ruby users should upgrade to the latest available version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.2-r2"

References
==========

  [ 1 ] CAN-2005-1992
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1992
  [ 2 ] Ruby Security Announcement
        http://www.ruby-lang.org/en/20050701.html

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

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

  http://security.gentoo.org/glsa/glsa-200507-10.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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20050711/e7f91862/attachment-0002.bin 


Full-Disclosure is hosted and sponsored by Secunia.