| Reporter | Title | Published | Views | Family All 30 |
|---|---|---|---|---|
| Putty pscp 0.66 - Stack Buffer Overwrite | 10 Mar 201600:00 | – | zdt | |
| PuTTY - old-style scp downloads may allow remote code execution | 26 Feb 201600:00 | – | freebsd | |
| PuTTY and KiTTY Stack Buffer Overflow Vulnerability | 9 Apr 201600:00 | – | cnvd | |
| CVE-2016-2563 | 7 Apr 201623:00 | – | cve | |
| CVE-2016-2563 | 7 Apr 201623:00 | – | cvelist | |
| CVE-2016-2563 | 7 Apr 201623:00 | – | debiancve | |
| Putty pscp 0.66 - Stack Buffer Overwrite | 10 Mar 201600:00 | – | exploitpack | |
| FreeBSD : PuTTY - old-style scp downloads may allow remote code execution (7f0fbb30-e462-11e5-a3f3-080027ef73ec) | 8 Mar 201600:00 | – | nessus | |
| GLSA-201606-01 : PuTTY: Multiple vulnerabilities | 6 Jun 201600:00 | – | nessus | |
| openSUSE Security Update : putty (openSUSE-2016-667) | 1 Jun 201600:00 | – | nessus |
Source: https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-2563
Author: <github.com/tintinweb>
Date: Feb 20th, 2016
Name: putty
Vendor: sgtatham - http://www.chiark.greenend.org.uk/~sgtatham/putty/
Version: 0.59 [3] (~9 years ago) <= affected <= 0.66
Platform(s): win/nix
Technology: c
Vuln Classes: stack buffer overwrite (CWE-121)
Origin: remote
Min. Privs.: post auth
CVE: CVE-2016-2563
Summary
The putty SCP command-line utility (pscp) is missing a bounds-check for a stack buffer when processing the SCP-SINK file-size response to a SCP download request. This may allow a malicious server to overwrite the stack buffer within the client- application potentially leading to remote code execution.
PoC attached. patch attached.
Besides that, two minor issues have been reported in putty packet handling:
DoS condition in the parsing of SSH-Strings that lead to a nullptr read. (connect putty to poc.py and type x11exploit to trigger one of multiple occurrence of a crash, also works with x11forwarding disabled in putty)
DoS condition in the handling of unrequested forwarded-tcpip channels open requests that lead to a nullptr read. (connect putty to poc.py and type forwardedtcpipcrash to trigger crash)
Details
The vulnerable code is located in pscp.c [4] line 1498 (HEAD) and is based on an unbound sscanf string format descriptor storing an arbitrary length string in a 40byte fixed size stack buffer sizestr[40].
Proof of Concept:
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/39551.zipData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation