4.3
MEDIUM
CVE-2007-5162
Ruby Net::HTTP Common Name Verification Bypass
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.

INFO

Published Date :

Oct. 1, 2007, 5:17 a.m.

Last Modified :

Oct. 15, 2018, 9:41 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.9

Exploitability Score :

8.6
Affected Products

The following products are affected by CVE-2007-5162 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ruby-lang ruby
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2007-5162.

URL Resource
http://secunia.com/advisories/26985
http://secunia.com/advisories/27044
http://secunia.com/advisories/27432
http://secunia.com/advisories/27576
http://secunia.com/advisories/27673
http://secunia.com/advisories/27756
http://secunia.com/advisories/27764
http://secunia.com/advisories/27769
http://secunia.com/advisories/27818
http://secunia.com/advisories/28645
http://secunia.com/advisories/29556
http://securityreason.com/securityalert/3180
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13499 Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13500 Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13502 Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13504 Patch
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 Patch
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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2007-5162 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2007-5162 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 15, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/480987/100/0/threaded [No Types Assigned]
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/483577/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/483577/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/480987/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:10738 [No Types Assigned]
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/36861 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/36861 [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 01, 2007

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2007-5162 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.36 }} 0.29%

score

0.90049

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability