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

Medium Nessus Plugin ID 20953


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


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.


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

Plugin Details

Severity: Medium

ID: 20953

File Name: gentoo_GLSA-200602-11.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2006/02/21

Modified: 2016/10/17

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.6

Temporal Score: 4.6

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

Temporal Vector: CVSS2#E:ND/RL:ND/RC:C

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 Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2006/02/20

Vulnerability Publication Date: 2005/09/28

Reference Information

CVE: CVE-2006-0225

OSVDB: 22692

GLSA: 200602-11