Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Mailing Lists RSS Blog New entry Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)
  - NEW -

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Ruby Modules Common Name Verification Security Issues Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA26985  
Release Date: 2007-10-02
Last Update: 2007-11-13

Critical:
Less critical
Impact: Spoofing
Where: From remote
Solution Status: Vendor Workaround

Software:Ruby 1.8.x

CVE reference:CVE-2007-5162 (Secunia mirror)
CVE-2007-5770 (Secunia mirror)



Description:
Some security issues have been reported in Ruby, which can be exploited by malicious people to conduct spoofing attacks.

The security issues are caused due to the "net::https", "net::ftptls", "net::telnets", and "net::imap" modules not properly checking if the Common Name field provided inside SSL server certificates matches the requested hostname of a server. This can be exploited to conduct spoofing attacks.

Successful exploitation requires a MitM (Man-in-the-Middle) attack and possession of a valid certificate, which is signed by the CA specified in the client.

The security issues are reported in version 1.8.5 and 1.8.6.

Solution:
Fixed in SVN repository.

Provided and/or discovered by:
Chris Clark, iSEC Partners
Additionally affected modules reported by the vendor.

Changelog:
2007-11-13: Added "net::ftptls", "net::telnets", and "net::imap" as affected modules. Added CVE reference.

Original Advisory:
http://www.isecpartners.com/advisories/2007-006-rubyssl.txt
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13656



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.

7 Related Secunia Security Advisories

1. Ruby WEBrick Information Disclosure
2. Ruby WEBrick Information Disclosure Vulnerabilities
3. Ruby Safe Level Security Bypass Vulnerabilities
4. Ruby Safe-Level Security Bypass and Server Classes Denial of Service
5. Ruby XMLRPC.iPIMethods Arbitrary Command Execution
6. Ruby "cgi.rb" Denial of Service Vulnerability
7. Ruby CGI Session Management Insecure File Creation Vulnerability


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Microsoft Windows XP I2O Utility Filter Driver Privilege Escalation
2.
Citrix Access Gateway Unspecified Authentication Bypass
3.
Novell Client Login Long Username/Contex t Buffer Overflow
4.
Kmita Mail "file" File Inclusion Vulnerability
5.
Debian update for kernel
6.
Gentoo update for aterm, eterm, rxvt, mrxvt, multi-aterm, wterm, and rxvt-unicode
7.
rxvt-unicode X11 Display Security Issue
8.
mrxvt X11 Display Security Issue
9.
Internet Explorer "DisableCaching OfSSLPages" Weakness
10.
wterm X11 Display Security Issue





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia