PuTTY up to 0.67 Forward Agent ssh_agent_channel_data memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.10 |
Summary
A vulnerability categorized as problematic has been discovered in PuTTY up to 0.67. The impacted element is the function ssh_agent_channel_data of the component Forward Agent. The manipulation results in memory corruption.
This vulnerability was named CVE-2017-6542. The attack needs to be approached locally. In addition, an exploit is available.
It is advisable to upgrade the affected component.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Details
A vulnerability was found in PuTTY up to 0.67 (Connectivity Software). It has been classified as problematic. Affected is the function ssh_agent_channel_data of the component Forward Agent. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability.
The bug was discovered 03/21/2017. The weakness was presented 03/08/2017 by Tim Kosse as confirmed advisory (Website). The advisory is available at chiark.greenend.org.uk. The public release was coordinated in cooperation with the vendor. This vulnerability is traded as CVE-2017-6542 since 03/08/2017. Local access is required to approach this attack. The successful exploitation needs a authentication. Technical details and a public exploit are known.
After immediately, there has been an exploit disclosed. The exploit is shared for download at chiark.greenend.org.uk. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 97789 (FreeBSD : PuTTY -- integer overflow permits memory overwrite by forwarded ssh-agent connections (9b973e97-0a99-11e7-ace7-080027ef73ec)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370361 (PuTTY ssh_agent_channel_data Function Integer Overflow Vulnerability). The code used by the exploit is:
(echo -ne '\xFF\xFF\xFF\xFD\x0B'; cat /dev/zero) | socat stdio unix-connect:$SSH_AUTH_SOCK
Upgrading to version 0.68 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.tartarus.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (42137), Tenable (97789), SecurityFocus (BID 97156†) and SecurityTracker (ID 1038067†). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
- 0.1
- 0.2
- 0.3
- 0.4
- 0.5
- 0.6
- 0.7
- 0.8
- 0.9
- 0.10
- 0.11
- 0.12
- 0.13
- 0.14
- 0.15
- 0.16
- 0.17
- 0.18
- 0.19
- 0.20
- 0.21
- 0.22
- 0.23
- 0.24
- 0.25
- 0.26
- 0.27
- 0.28
- 0.29
- 0.30
- 0.31
- 0.32
- 0.33
- 0.34
- 0.35
- 0.36
- 0.37
- 0.38
- 0.39
- 0.40
- 0.41
- 0.42
- 0.43
- 0.44
- 0.45
- 0.46
- 0.47
- 0.48
- 0.49
- 0.50
- 0.51
- 0.52
- 0.53
- 0.54
- 0.55
- 0.56
- 0.57
- 0.58
- 0.59
- 0.60
- 0.61
- 0.62
- 0.63
- 0.64
- 0.65
- 0.66
- 0.67
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.3
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 97789
Nessus Name: FreeBSD : PuTTY -- integer overflow permits memory overwrite by forwarded ssh-agent connections (9b973e97-0a99-11e7-ace7-080027ef73ec)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for putty FEDORA-2017-efdd962fee
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Upgrade: PuTTY 0.68
Patch: 4ff22863d895cb7ebfced4cf923a012a614adaa8
Timeline
03/08/2017 🔍03/08/2017 🔍
03/08/2017 🔍
03/16/2017 🔍
03/17/2017 🔍
03/21/2017 🔍
03/21/2017 🔍
03/22/2017 🔍
03/27/2017 🔍
03/27/2017 🔍
12/22/2024 🔍
Sources
Advisory: chiark.greenend.org.ukResearcher: Tim Kosse
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2017-6542 (🔍)
GCVE (CVE): GCVE-0-2017-6542
GCVE (VulDB): GCVE-100-98358
SecurityFocus: 97156 - PuTTY 'ssh_agent_channel_data()' Function Integer Overflow Vulnerability
OSVDB: - CVE-2017-6542 - PuTTY - Buffer Overflow Issue
SecurityTracker: 1038067
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/22/2017 02:13 PMUpdated: 12/22/2024 02:37 AM
Changes: 03/22/2017 02:13 PM (88), 08/19/2020 05:35 PM (7), 11/14/2022 11:24 AM (4), 12/22/2024 02:37 AM (14)
Complete: 🔍
Cache ID: 244:D34:40
No comments yet. Languages: en.
Please log in to comment.