GLSA-200602-11 : OpenSSH, Dropbear: Insecure use of system() call

medium Nessus Plugin ID 20953

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200602-11 (OpenSSH, Dropbear: Insecure use of system() call)

To copy from a local filesystem to another local filesystem, scp constructs a command line using 'cp' which is then executed via system(). Josh Bressers discovered that special characters are not escaped by scp, but are simply passed to the shell.
Impact :

By tricking other users or applications to use scp on maliciously crafted filenames, a local attacker user can execute arbitrary commands with the rights of the user running scp.
Workaround :

There is no known workaround at this time.

Solution

All OpenSSH users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/openssh-4.2_p1-r1' All Dropbear users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/dropbear-0.47-r1'

See Also

https://security.gentoo.org/glsa/200602-11

Plugin Details

Severity: Medium

ID: 20953

File Name: gentoo_GLSA-200602-11.nasl

Version: 1.16

Type: local

Published: 2/21/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.1

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:dropbear, p-cpe:/a:gentoo:linux:openssh, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 2/20/2006

Vulnerability Publication Date: 9/28/2005

Reference Information

CVE: CVE-2006-0225

GLSA: 200602-11