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

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


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-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.

See also :

http://sublimation.org/scponly/index.html#relnotes
http://www.gentoo.org/security/en/glsa/glsa-200512-17.xml

Solution :

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

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 20358 (gentoo_GLSA-200512-17.nasl)

Bugtraq ID:

CVE ID: CVE-2005-4532
CVE-2005-4533