CentOS 5 : autofs (CESA-2007:1176)

medium Nessus Plugin ID 43665

Language:

Synopsis

The remote CentOS host is missing a security update.

Description

Updated autofs packages that fix a security issue are now available for Red Hat Enterprise Linux 5.

This update has been rated as having important security impact by the Red Hat Security Response Team.

The autofs utility controls the operation of the automount daemon, which automatically mounts file systems when you use them, and unmounts them when you are not using them. This can include network file systems and CD-ROMs.

There was a security issue with the default configuration of autofs version 5, whereby the entry for the '-hosts' map did not specify the 'nodev' mount option. A local user with control of a remote NFS server could create special device files on the remote file system, that if mounted using the default '-hosts' map, could allow the user to access important system devices. (CVE-2007-6285)

This issue is similar to CVE-2007-5964, which fixed a missing 'nosuid' mount option in autofs. Both the 'nodev' and 'nosuid' options should be enabled to prevent a possible compromise of machine integrity.

Due to the fact that autofs always mounted '-hosts' map entries 'dev' by default, autofs has now been altered to always use the 'nodev' option when mounting from the default '-hosts' map. The 'dev' option must be explicitly given in the master map entry to revert to the old behavior. This change affects only the '-hosts' map which corresponds to the '/net' entry in the default configuration.

All autofs users are advised to upgrade to these updated packages, which resolve this issue.

Red Hat would like to thank Tim Baum for reporting this issue.

Solution

Update the affected autofs package.

See Also

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

http://www.nessus.org/u?4e388d18

Plugin Details

Severity: Medium

ID: 43665

File Name: centos_RHSA-2007-1176.nasl

Version: 1.13

Type: local

Agent: unix

Published: 1/6/2010

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:autofs, cpe:/o:centos:centos:5

Required KB Items: Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 1/13/2008

Vulnerability Publication Date: 12/20/2007

Reference Information

CVE: CVE-2007-6285

BID: 26970

CWE: 16

RHSA: 2007:1176