Ruby DL module security bypass
| ruby-dl-security-bypass (44372) |
Description:
Ruby could allow a remote attacker to bypass security restrictions, caused by the improper input checking by the DL module. An attacker could exploit this vulnerability by accessing a library using the DL.dlopen function, which would allow the attacker to bypass safe level restrictions and call multiple unsafe functions.
*CVSS:
| Base Score: | 4.3 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | None |
| Temporal Score: | 3.2 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Bypass Security
Remedy:
For Apple Mac OS:
Apply Apple Security Update 2009-002, available from the Apple Web site. See References.
For 1.8 series:
Upgrade to the latest version of Ruby (1.8.6-p287 or 1.8.7-p72 or later), available from the Ruby Programming Language Web site. See References.
For 1.9 series:
Upgrade to the latest version of Ruby (1.9.1 or later), available from the Ruby Core SVN Repository. See References.
References:
- Apple Web site: About the security content of Security Update 2009-002 / Mac OS X v10.5.7.
- Ruby Core SVN Repository: Ruby Core.
- Ruby Programming Language Web site: Multiple vulnerabilities in Ruby.
- ASA-2008-424: ruby security update (RHSA-2008-0897)
- BID-30644: Ruby Multiple Security Bypass and Denial of Service Vulnerabilities
- CVE-2008-3657: The dl module in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 does not check taintness of inputs, which allows context-dependent attackers to bypass safe levels and execute dangerous functions by accessing a library using DL.dlopen.
- DSA-1651: ruby1.8 -- several vulnerabilities
- DSA-1652: ruby1.9 -- several vulnerabilities
- GLSA-200812-17: Ruby: Multiple vulnerabilities
- MDVSA-2008:226: ruby
- RHSA-2008-0897: Moderate: ruby security update
- SA31430: Ruby Multiple Vulnerabilities
- SA35074: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1020652: Ruby 'dl' Does Not Check for Taint
- SUSE-SA:2009:037: dhcp-client security problem
- USN-651-1: Ruby vulnerabilities
- VUPEN/ADV-2008-2334: Ruby Multiple Security Bypass and Denial of Service Vulnerabilities
- VUPEN/ADV-2009-1297: Apple Mac OS X Code Execution and Security Bypass Vulnerabilities
Platforms Affected:
- Apple Mac OS X 10.5
- Apple Mac OS X 10.5.1
- Apple Mac OS X 10.5.2
- Apple Mac OS X 10.5.3
- Apple Mac OS X 10.5.4
- Apple Mac OS X 10.5.5
- Apple Mac OS X 10.5.6
- Apple Mac OS X Server 10.5
- Apple Mac OS X Server 10.5.1
- Apple Mac OS X Server 10.5.2
- Apple Mac OS X Server 10.5.3
- Apple Mac OS X Server 10.5.4
- Apple Mac OS X Server 10.5.5
- Apple Mac OS X Server 10.5.6
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 7.04
- Canonical Ubuntu 7.10
- Canonical Ubuntu 8.04 LTS
- Debian Debian Linux 4.0
- Gentoo Linux
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.1
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- Novell Linux Desktop 9
- Novell Linux POS 9
- Novell Open Enterprise Server
- Novell OpenSUSE 10.3
- Novell OpenSUSE 11.0
- Novell SLE SDK 10 SP2
- Novell SUSE Linux Enterprise 10 SP2 DEBUGINFO
- Novell SUSE Linux Enterprise Desktop 10 SP2
- Novell SUSE Linux Enterprise Server 10 SP2
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux 5 Client
- RedHat Enterprise Linux 5 Client Workstation
- SuSE SuSE SLES 9
- Yukihiro Matsumoto Ruby 1.8.5 and prior
- Yukihiro Matsumoto Ruby 1.8.6-p286 and prior
- Yukihiro Matsumoto Ruby 1.8.7 P71
- Yukihiro Matsumoto Ruby 1.9
Reported:
Aug 08, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
