Bug 161096 - CAN-2005-1992 ruby arbitrary command execution on XMLRPC server
CAN-2005-1992 ruby arbitrary command execution on XMLRPC server
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: ruby (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Akira TAGOH
Bill Huang
public=20050617,impact=moderate,sourc...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-20 11:28 EDT by Josh Bressers
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 1.8.2-7.fc4.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-21 13:08:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Josh Bressers 2005-06-20 11:28:46 EDT
+++ This bug was initially created as a clone of Bug #161095 +++

I ran across this issue in the Debian BTS:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315064
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/5237

It seems that by executing an XMLRPC server in ruby in this manner:
s.add_handler(XMLRPC::iPIMethods("sample")

It becomes possible to execute any arbitrary commands within the XMLRPC
server.
Comment 1 Akira TAGOH 2005-06-21 13:08:12 EDT
Fixed in ruby-1.8.2-1.fc3.3 for FC3 and ruby-1.8.2-7.fc4.2 for FC4.

Note You need to log in before you can comment on or make changes to this bug.