Secunia Logo
Netsikker nu! 2008
 
Ruby Modules Common Name Verification Security Issues
Secunia Advisory: SA26985
Release Date: 2007-10-02
Last Update: 2007-11-13
Popularity: 6,742 views

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

Software:Ruby 1.8.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-5162
CVE-2007-5770


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


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

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.

Most Popular - 3 Hours

1. phpBB Avatar Functions Information Disclosure and Deletion // 127 views
2. phpBB Avatar Script Insertion Vulnerability // 112 views
3. phpBB "url" bbcode Script Insertion Vulnerability // 100 views
4. phpBB BBcode "url" Script Insertion Vulnerability // 79 views
5. ArticleBeach Script "page" File Inclusion Vulnerability // 63 views
6. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 35 views
7. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 33 views
8. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 27 views
9. CA ARCserve Backup Multiple Vulnerabilities // 27 views
10. CUPS Multiple Vulnerabilities // 25 views