OpenSSL up to 1.0.1f Multithreading s3_pkt.c ssl3_read_bytes race condition
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.2 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in OpenSSL up to 1.0.1f. Affected by this issue is the function ssl3_read_bytes of the file s3_pkt.c of the component Multithreading. The manipulation results in race condition.
This vulnerability is cataloged as CVE-2010-5298. There is no exploit available.
It is best practice to apply a patch to resolve this issue.
Details
A vulnerability classified as problematic has been found in OpenSSL up to 1.0.1f (Network Encryption Software). Affected is the function ssl3_read_bytes of the file s3_pkt.c of the component Multithreading. The manipulation with an unknown input leads to a race condition vulnerability. CWE is classifying the issue as CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. This is going to have an impact on integrity, and availability. CVE summarizes:
Race condition in the ssl3_read_bytes function in s3_pkt.c in OpenSSL through 1.0.1g, when SSL_MODE_RELEASE_BUFFERS is enabled, allows remote attackers to inject data across sessions or cause a denial of service (use-after-free and parsing error) via an SSL connection in a multithreaded environment.
The weakness was shared 04/12/2014 by Benson Kwok as confirmed posting (oss-sec). The advisory is available at openwall.com. The vendor cooperated in the coordination of the public release. This vulnerability is traded as CVE-2010-5298 since 04/14/2014. The exploitability is told to be difficult. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit. The reason for this vulnerability is this part of code:
if (s->mode & SSL_MODE_RELEASE_BUFFERS)
The vulnerability scanner Nessus provides a plugin with the ID 74340 (Fedora 19 : openssl-1.0.1e-38.fc19 (2014-7101)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350258 (Amazon Linux Security Advisory for openssl: AL2012-2014-003).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at ftp.openbsd.org. A possible mitigation has been published immediately after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:
if (s->mode & SSL_MODE_RELEASE_BUFFERS && s->s3->rbuf.left == 0)
The vulnerability is also documented in the databases at X-Force (92632), Tenable (74340), SecurityFocus (BID 66801†) and Secunia (SA58939†). The entries VDB-11600, VDB-11705, VDB-11778 and VDB-13136 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
Support
- end of life (old version)
Website
- Product: https://www.openssl.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.8VulDB Meta Temp Score: 4.2
VulDB Base Score: 4.8
VulDB Temp Score: 4.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Race conditionCWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 74340
Nessus Name: Fedora 19 : openssl-1.0.1e-38.fc19 (2014-7101)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 702908
OpenVAS Name: Debian Security Advisory DSA 2908-1 (openssl - security update
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: ftp.openbsd.org
Timeline
04/12/2014 🔍04/12/2014 🔍
04/13/2014 🔍
04/14/2014 🔍
04/14/2014 🔍
04/22/2014 🔍
06/06/2014 🔍
05/03/2019 🔍
Sources
Product: openssl.orgAdvisory: openwall.com
Researcher: Benson Kwok
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2010-5298 (🔍)
GCVE (CVE): GCVE-0-2010-5298
GCVE (VulDB): GCVE-100-13014
OVAL: 🔍
IAVM: 🔍
X-Force: 92632 - OpenSSL ssl3_read_bytes denial of service, Medium Risk
SecurityFocus: 66801 - OpenSSL 'ssl3_release_read_buffer()' Use-After-Free Memory Corruption Vulnerability
Secunia: 58939
See also: 🔍
Entry
Created: 04/22/2014 10:55Updated: 05/03/2019 10:19
Changes: 04/22/2014 10:55 (83), 05/03/2019 10:19 (2)
Complete: 🔍
Cache ID: 216:862:103
No comments yet. Languages: en.
Please log in to comment.