FreeBSD : scponly -- local privilege escalation exploits (b5a49db7-72fc-11da-9827-021106004fd6)

high Nessus Plugin ID 21497

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Max Vozeler reports :

If ALL the following conditions are true, administrators using scponly-4.1 or older may be at risk of a local privilege escalation exploit :

- the chrooted setuid scponlyc binary is installed

- regular non-scponly users have interactive shell access to the box

- a user executable dynamically linked setuid binary (such as ping) exists on the same file system mount as the user's home directory

- the operating system supports an LD_PRELOAD style mechanism to overload dynamic library loading

Pekka Pessi also reports :

If ANY the following conditions are true, administrators using scponly-4.1 or older may be at risk of a local privilege escalation exploit :

- scp compatibility is enabled

- rsync compatibility is enabled

Solution

Update the affected package.

See Also

https://lists.ccs.neu.edu/pipermail/scponly/2005-December/001027.html

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

http://www.nessus.org/u?c13d7bed

Plugin Details

Severity: High

ID: 21497

File Name: freebsd_pkg_b5a49db772fc11da9827021106004fd6.nasl

Version: 1.12

Type: local

Published: 5/13/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:scponly, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 12/22/2005

Vulnerability Publication Date: 12/21/2005