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

This script is Copyright (C) 2015-2017 Tenable Network Security, Inc.


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.

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?57fc4b80

Solution :

Update the affected packages.

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N)

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 83513 ()

Bugtraq ID:

CVE ID: CVE-2015-3900

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now