Vulnerability CVE-2007-5162


Published: 2007-10-01   Modified: 2012-02-12

Description:
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 attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site.

See advisories in our WLB2 database:
Topic
Author
Date
Low
Ruby Net::HTTPS library does not validate server certificate CN
Chris Clark
01.10.2007

Type:

CWE-287

(Improper Authentication)

CVSS2 => (AV:N/AC:M/Au:N/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
Ruby-lang -> RUBY 

 References:
http://securityreason.com/securityalert/3180
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13499
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13500
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13502
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13504
http://www.debian.org/security/2007/dsa-1410
http://www.debian.org/security/2007/dsa-1411
http://www.debian.org/security/2007/dsa-1412
http://www.isecpartners.com/advisories/2007-006-rubyssl.txt
http://www.mandriva.com/security/advisories?name=MDVSA-2008:029
http://www.novell.com/linux/security/advisories/2007_24_sr.html
http://www.redhat.com/support/errata/RHSA-2007-0961.html
http://www.redhat.com/support/errata/RHSA-2007-0965.html
http://www.securityfocus.com/archive/1/480987/100/0/threaded
http://www.securityfocus.com/archive/1/483577/100/0/threaded
http://www.securityfocus.com/bid/25847
http://www.ubuntu.com/usn/usn-596-1
http://www.vupen.com/english/advisories/2007/3340
https://bugzilla.redhat.com/show_bug.cgi?id=313791
https://exchange.xforce.ibmcloud.com/vulnerabilities/36861
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.html
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.html
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.html

Copyright 2024, cxsecurity.com

 

Back to Top