FreeBSD : rubygems -- request hijacking vulnerability (a0089e18-fc9e-11e4-bc58-001e67150279)

medium Nessus Plugin ID 83513

Synopsis

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

Description

Jonathan Claudius reports :

RubyGems provides the ability of a domain to direct clients to a separate host that is used to fetch gems and make API calls against.
This mechanism is implemented via DNS, specifically a SRV record
_rubygems._tcp under the original requested domain.

RubyGems did not validate the hostname returned in the SRV record before sending requests to it. This left clients open to a DNS hijack attack, whereby an attacker could return a SRV of their choosing and get the client to use it.

Solution

Update the affected packages.

See Also

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200264

http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html

http://www.nessus.org/u?a870b517

Plugin Details

Severity: Medium

ID: 83513

File Name: freebsd_pkg_a0089e18fc9e11e4bc58001e67150279.nasl

Version: 2.6

Type: local

Published: 5/18/2015

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ruby20-gems, p-cpe:/a:freebsd:freebsd:ruby21-gems, p-cpe:/a:freebsd:freebsd:ruby22-gems, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 5/17/2015

Vulnerability Publication Date: 5/14/2015

Reference Information

CVE: CVE-2015-3900