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

high Nessus Plugin ID 20358

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.

Solution

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

See Also

http://sublimation.org/scponly/index.html#relnotes

https://security.gentoo.org/glsa/200512-17

Plugin Details

Severity: High

ID: 20358

File Name: gentoo_GLSA-200512-17.nasl

Version: 1.14

Type: local

Published: 12/30/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

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: 12/29/2005

Vulnerability Publication Date: 12/21/2005

Reference Information

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

GLSA: 200512-17