Secunia Logo
 
Ruby Modules Common Name Verification Security Issues
Secunia Advisory: SA26985
Release Date: 2007-10-02
Last Update: 2007-11-13
Popularity: 7,235 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. Apple iPhone / iPod touch Multiple Vulnerabilities // 30 views
2. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 28 views
3. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 26 views
4. SemanticScuttle Cross-Site Scripting Vulnerabilities // 24 views
5. Sun Java JDK / JRE Multiple Vulnerabilities // 24 views
6. vBulletin Visitor Messages Script Insertion Vulnerability // 24 views
7. Fedora update for thunderbird // 22 views
8. Easyedit CMS Multiple SQL Injection Vulnerabilities // 20 views
9. Softbiz Classifieds Script "msg" Cross-Site Scripting Vulnerability // 20 views
10. EMC Control Center SAN Manager Multiple Vulnerabilities // 20 views