GLSA 200507-10: Ruby: Arbitrary command execution through XML-RPC

Severity:high
Title:Ruby: Arbitrary command execution through XML-RPC
Date:07/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 Architecture(s)
dev-lang/ruby < 1.8.2-r2 >= 1.8.2-r2 All supported architectures

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

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@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!