4.3
CVSSv2

CVE-2007-5162

Published: 01/10/2007 Updated: 15/10/2018
CVSS v2 Base Score: 4.3 | Impact Score: 2.9 | Exploitability Score: 8.6
VMScore: 383
Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N

Vulnerability Summary

The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN) field in a server certificate matches the domain name in an HTTPS request, which makes it easier for remote malicious users to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site.

Vulnerable Product Search on Vulmon Subscribe to Product

ruby-lang ruby 1.8.5

ruby-lang ruby 1.8.6

Vendor Advisories

Chris Clark discovered that Ruby’s HTTPS module did not check for commonName mismatches early enough during SSL negotiation If a remote attacker were able to perform man-in-the-middle attacks, this flaw could be exploited to view sensitive information in HTTPS requests coming from Ruby applications (CVE-2007-5162) ...
Several vulnerabilities have been discovered in Ruby, an object-oriented scripting language The Common Vulnerabilities and Exposures project identifies the following problems: CVE-2007-5162 It was discovered that the Ruby HTTP(S) module performs insufficient validation of SSL certificates, which may lead to man-in-the-middle attacks ...
Several vulnerabilities have been discovered in Ruby, an object-oriented scripting language The Common Vulnerabilities and Exposures project identifies the following problems: CVE-2007-5162 It was discovered that the Ruby HTTP(S) module performs insufficient validation of SSL certificates, which may lead to man-in-the-middle attacks ...

References

CWE-287http://www.isecpartners.com/advisories/2007-006-rubyssl.txthttp://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13499http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13500http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13502http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13504http://www.securityfocus.com/bid/25847https://bugzilla.redhat.com/show_bug.cgi?id=313791http://www.debian.org/security/2007/dsa-1410http://www.debian.org/security/2007/dsa-1411http://www.debian.org/security/2007/dsa-1412https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.htmlhttps://www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.htmlhttps://www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.htmlhttp://www.redhat.com/support/errata/RHSA-2007-0961.htmlhttp://www.redhat.com/support/errata/RHSA-2007-0965.htmlhttp://www.novell.com/linux/security/advisories/2007_24_sr.htmlhttp://secunia.com/advisories/26985http://secunia.com/advisories/27044http://secunia.com/advisories/27432http://secunia.com/advisories/27576http://secunia.com/advisories/27673http://secunia.com/advisories/27764http://secunia.com/advisories/27769http://secunia.com/advisories/27818http://securityreason.com/securityalert/3180http://secunia.com/advisories/27756http://www.mandriva.com/security/advisories?name=MDVSA-2008:029http://secunia.com/advisories/28645http://www.ubuntu.com/usn/usn-596-1http://secunia.com/advisories/29556http://www.vupen.com/english/advisories/2007/3340https://exchange.xforce.ibmcloud.com/vulnerabilities/36861https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738http://www.securityfocus.com/archive/1/483577/100/0/threadedhttp://www.securityfocus.com/archive/1/480987/100/0/threadedhttps://usn.ubuntu.com/596-1/https://nvd.nist.gov