FreeBSD : wu-ftpd ftpaccess `restricted-uid'/`restricted-gid' directive may be bypassed (3b7c7f6c-7102-11d8-873f-0020ed76ef5a)

high Nessus Plugin ID 37480

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Glenn Stewart reports a bug in wu-ftpd's ftpaccess `restricted-uid'/`restricted-gid' directives :

Users can get around the restriction to their home directory by issuing a simple chmod command on their home directory. On the next ftp log in, the user will have '/' as their root directory.

Matt Zimmerman discovered that the cause of the bug was a missing check for a restricted user within a code path that is executed only when a certain error is encountered.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?7bbeced9

Plugin Details

Severity: High

ID: 37480

File Name: freebsd_pkg_3b7c7f6c710211d8873f0020ed76ef5a.nasl

Version: 1.12

Type: local

Published: 4/23/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:wu-ftpd, p-cpe:/a:freebsd:freebsd:wu-ftpd%2bipv6, cpe:/o:freebsd:freebsd

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

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 3/8/2004

Vulnerability Publication Date: 2/17/2004

Reference Information

CVE: CVE-2004-0148

BID: 9832