PuTTY up to 0.67 Forward Agent ssh_agent_channel_data memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.10

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: PuTTY 0.68
Patch: 4ff22863d895cb7ebfced4cf923a012a614adaa8

Timelineinfo

03/08/2017 🔍
03/08/2017 +0 days 🔍
03/08/2017 +0 days 🔍
03/16/2017 +8 days 🔍
03/17/2017 +1 days 🔍
03/21/2017 +4 days 🔍
03/21/2017 +0 days 🔍
03/22/2017 +1 days 🔍
03/27/2017 +5 days 🔍
03/27/2017 +0 days 🔍
12/22/2024 +2827 days 🔍

Sourcesinfo

Advisory: chiark.greenend.org.uk
Researcher: 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

Entryinfo

Created: 03/22/2017 02:13 PM
Updated: 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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!