FreeBSD : PuTTY - old-style scp downloads may allow remote code execution (7f0fbb30-e462-11e5-a3f3-080027ef73ec)

critical Nessus Plugin ID 89727

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Simon G. Tatham reports :

Many versions of PSCP prior to 0.67 have a stack corruption vulnerability in their treatment of the 'sink' direction (i.e.
downloading from server to client) of the old-style SCP protocol.

In order for this vulnerability to be exploited, the user must connect to a malicious server and attempt to download any file.[...] you can work around it in a vulnerable PSCP by using the -sftp option to force the use of the newer SFTP protocol, provided your server supports that protocol.

Solution

Update the affected package.

See Also

http://www.nessus.org/u?d98e5112

https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-2563

http://www.nessus.org/u?11330a6a

Plugin Details

Severity: Critical

ID: 89727

File Name: freebsd_pkg_7f0fbb30e46211e5a3f3080027ef73ec.nasl

Version: 2.7

Type: local

Published: 3/8/2016

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:putty, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/7/2016

Vulnerability Publication Date: 2/26/2016

Reference Information

CVE: CVE-2016-2563