Main
Vulnerability Database
Exploits
ID:1228 - Exploit for Heap-based buffer overflow in PuTTY - CVE-2017-6542
ID:1228 - Exploit for Heap-based buffer overflow in PuTTY - CVE-2017-6542
Published: March 18, 2020
Vulnerability identifier: #VU6919
Vulnerability risk: Medium
CVE-ID: CVE-2017-6542
CWE-ID: CWE-122
Exploitation vector: Remote access
Vulnerable software:
PuTTY
PuTTY
Link to public exploit:
Vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code or cause DoS condition on the target system.
The weakness exists due to heap-based buffer overflow bug in the ssh_agent_channel_data function of PuTTY. A remote attacker can send an agent protocol message containing large length value, connect to the Unix-domain socket representing the forwarded agent connection, trigger memory corruption and execute arbitrary code with privileges o the current user or cause the system to crash.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists due to heap-based buffer overflow bug in the ssh_agent_channel_data function of PuTTY. A remote attacker can send an agent protocol message containing large length value, connect to the Unix-domain socket representing the forwarded agent connection, trigger memory corruption and execute arbitrary code with privileges o the current user or cause the system to crash.
Successful exploitation of the vulnerability may result in system compromise.
Remediation
Update to version 0.68 or later.