FreeBSD : ruby -- arbitrary command execution on XMLRPC server (594eb447-e398-11d9-a8bd-000cf18bbe54)

high Nessus Plugin ID 18942

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Nobuhiro IMAI reports :

the default value modification on Module#public_instance_methods (from false to true) breaks s.add_handler(XMLRPC::iPIMethods('sample'), MyHandler.new) style security protection.

This problem could allow a remote attacker to execute arbitrary commands on XMLRPC server of libruby.

Solution

Update the affected packages.

See Also

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/5237

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315064

http://www.nessus.org/u?1ed299bb

Plugin Details

Severity: High

ID: 18942

File Name: freebsd_pkg_594eb447e39811d9a8bd000cf18bbe54.nasl

Version: 1.19

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ruby, p-cpe:/a:freebsd:freebsd:ruby_static, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 6/23/2005

Vulnerability Publication Date: 6/22/2005

Reference Information

CVE: CVE-2005-1992