Ruby OCSP_basic_verify() spoofing
| ruby-ocspbasicverify-spoofing (48761) |
Description:
Ruby could allow a remote attacker to conduct spoofing attacks, caused by the improper return of information by the OCSP_basic_verify() function when validating X.509 certificates. An attacker could accept a revoked x.509 certificate as valid and exploit this vulnerability to redirect a user to a malicious Web site that would appear to be trusted. This could allow the attacker to obtain sensitive information that could be used to launch further attacks against the victim's system.
*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 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Uncorroborated |
Consequences:
Gain Access
Remedy:
Apply the appropriate patch for your system. See References.
References:
- Debian Bug report logs - #513528: ruby1.9: Not properly checking the return value of OCSP_basic_verify.
- Ruby 1.9 - Bug #1091: possible bad handling of return value of OCSP_basic_verify in ext/openssl/ossl_ocsp.c.
- Ruby Programming Language Web site: Ruby Programming Language.
- ASA-2009-262: ruby security update (RHSA-2009-1140)
- BID-33769: Ruby 'OCSP_basic_verify()' X.509 Certificate Verification Vulnerability
- CVE-2009-0642: ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the OCSP_basic_verify function, which might allow remote attackers to successfully present an invalid X.509 certificate, possibly involving a revoked certificate.
- DSA-1860: ruby1.9 -- several vulnerabilities
- MDVSA-2009:193: ruby
- MDVSA-2009:325: ruby
- OSVDB ID: 52194: Ruby ext/openssl/ossl_ocsp.c OCSP_basic_verify() Function X.509 Certificate Handling Weakness
- RHSA-2009-1140: Moderate: ruby security update
- SA33750: Ruby "OCSP_basic_verify()" Certificate Validation Vulnerability
- SECTRACK ID: 1022505: Ruby OCSP_basic_verify() Validation Flaw Lets Remote Users Conduct Certificate Spoofing Attacks
- SUSE-SA:2009:037: dhcp-client security problem
- USN-805-1: Ruby vulnerabilities
Platforms Affected:
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 8.04 LTS
- Canonical Ubuntu 8.10
- Debian Debian Linux 4.0
- Debian Debian Linux 5.0
- 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 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- Mandriva Enterprise Server 5
- Mandriva Enterprise Server 5 X86_64
- Mandriva Linux 2009.0 X86_64
- Mandriva Linux 2009.0
- Mandriva Linux 2009.1 X86_64
- Mandriva Linux 2009.1
- 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 AS
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4.8.z AS
- RedHat Enterprise Linux 4.8.z ES
- RedHat Enterprise Linux 5 Client Workstation
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux 5 Client
- RedHat Enterprise Linux 5.3.z EUS
- RedHat Enterprise Linux Long Life 5.3
- Ruby-lang Ruby 1.8
- Ruby-lang Ruby 1.8.1
- Ruby-lang Ruby 1.8.2 Preview1
- Ruby-lang Ruby 1.8.2 Preview2
- Ruby-lang Ruby 1.8.2
- Ruby-lang Ruby 1.8.2 Preview3
- Ruby-lang Ruby 1.8.2 Preview4
- Ruby-lang Ruby 1.8.3
- Ruby-lang Ruby 1.8.4
- Ruby-lang Ruby 1.8.5
- Ruby-lang Ruby 1.8.5 P231
- Ruby-lang Ruby 1.8.5 P115
- Ruby-lang Ruby 1.8.5 P230
- Ruby-lang Ruby 1.8.6 P230
- Ruby-lang Ruby 1.8.6 P114
- Ruby-lang Ruby 1.8.6 P287
- Ruby-lang Ruby 1.8.6 P229
- Ruby-lang Ruby 1.8.6
- Ruby-lang Ruby 1.8.6 P286
- Ruby-lang Ruby 1.8.7 P21
- Ruby-lang Ruby 1.8.7
- Ruby-lang Ruby 1.8.7 P71
- Ruby-lang Ruby 1.8.7 P72
- Ruby-lang Ruby 1.8.7 P22
- Ruby-lang Ruby 1.9
- Ruby-lang Ruby 1.9 -1
- Ruby-lang Ruby 1.9 -2
- Ruby-lang Ruby 1.9.1
- SuSE SuSE SLES 9
Reported:
Jan 29, 2009
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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* 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.
