OpenSSH SSH2_MSG_NEWKEYS Message packet.c ssh_packet_read_poll2 null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in OpenSSH. Affected by this issue is the function ssh_packet_read_poll2 of the file packet.c of the component SSH2_MSG_NEWKEYS Message Handler. The manipulation results in null pointer dereference.
No exploit exists.
It is advisable to implement a patch to correct this issue.
Details
A vulnerability classified as problematic has been found in OpenSSH (Connectivity Software) (unknown version). Affected is the function ssh_packet_read_poll2 of the file packet.c of the component SSH2_MSG_NEWKEYS Message Handler. The manipulation with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability.
The weakness was disclosed 09/21/2016 by Robert Swiecki and honggfuzz as confirmed git commit (GIT Repository). The advisory is shared for download at anongit.mindrot.org. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available. The reason for this vulnerability is this part of code:
if (*typep == SSH2_MSG_NEWKEYS) r = ssh_set_newkeys(ssh, MODE_IN); else if (*typep == SSH2_MSG_USERAUTH_SUCCESS && !state->server_side)
Applying a patch is able to eliminate this problem. The bugfix is ready for download at anongit.mindrot.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 (*typep == SSH2_MSG_USERAUTH_SUCCESS && !state->server_side) r = ssh_packet_enable_delayed_compress(ssh);
The vulnerability is also documented in the vulnerability database at SecurityTracker (ID 1036937†). Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
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: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: anongit.mindrot.org
Timeline
09/21/2016 🔍09/21/2016 🔍
10/04/2016 🔍
10/05/2016 🔍
05/02/2019 🔍
Sources
Advisory: anongit.mindrot.orgResearcher: Robert Swiecki, honggfuzz
Status: Confirmed
GCVE (VulDB): GCVE-100-92412
SecurityTracker: 1036937
Entry
Created: 10/05/2016 11:18Updated: 05/02/2019 07:59
Changes: 10/05/2016 11:18 (45), 05/02/2019 07:59 (4)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.