GLSA-200512-17 : scponly: Multiple privilege escalation issues

High Nessus Plugin ID 20358


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


The remote host is affected by the vulnerability described in GLSA-200512-17 (scponly: Multiple privilege escalation issues)

Max Vozeler discovered that the scponlyc command allows users to chroot into arbitrary directories. Furthermore, Pekka Pessi reported that scponly insufficiently validates command-line parameters to a scp or rsync command.
Impact :

A local attacker could gain root privileges by chrooting into arbitrary directories containing hardlinks to setuid programs. A remote scponly user could also send malicious parameters to a scp or rsync command that would allow to escape the shell restrictions and execute arbitrary programs.
Workaround :

There is no known workaround at this time.


All scponly users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/scponly-4.2'

See Also

Plugin Details

Severity: High

ID: 20358

File Name: gentoo_GLSA-200512-17.nasl

Version: $Revision: 1.11 $

Type: local

Published: 2005/12/30

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:scponly, cpe:/o:gentoo:linux

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

Patch Publication Date: 2005/12/29

Vulnerability Publication Date: 2005/12/21

Reference Information

CVE: CVE-2005-4532, CVE-2005-4533

OSVDB: 22058, 22059

GLSA: 200512-17