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

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

Affected packages

dev-lang/ruby on all architectures
Affected versions < 1.8.2-r2
Unaffected versions >= 1.8.2-r2

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.

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

Release date
July 11, 2005

Latest revision
July 11, 2005: 01

Severity
high

Exploitable
remote

Bugzilla entries