Oracle Linux 4 : autofs5 (ELSA-2007-1129)

medium Nessus Plugin ID 67622

Synopsis

The remote Oracle Linux host is missing a security update.

Description

From Red Hat Security Advisory 2007:1129 :

Updated Red Hat Enterprise Linux 4 Technology Preview autofs5 packages are now available to fix a security flaw.

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 and unmounts file systems after a period of inactivity. The autofs version 5 package was made available as a technology preview in Red Hat Enterprise Linux version 4.6.

There was a security issue with the default installed configuration of autofs version 5 whereby the entry for the 'hosts' map did not specify the 'nosuid' mount option. A local user with control of a remote nfs server could create a setuid root executable within an exported filesystem on the remote nfs server that, if mounted using the default hosts map, would allow the user to gain root privileges.
(CVE-2007-5964)

Due to the fact that autofs version 5 always mounted hosts map entries suid by default, autofs has now been altered to always use the 'nosuid' option when mounting from the default hosts map. The 'suid' 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.

Users are advised to upgrade to these updated autofs5 packages, which resolve this issue.

Red Hat would like to thank Josh Lange for reporting this issue.

Solution

Update the affected autofs5 package.

See Also

https://oss.oracle.com/pipermail/el-errata/2007-December/000446.html

Plugin Details

Severity: Medium

ID: 67622

File Name: oraclelinux_ELSA-2007-1129.nasl

Version: 1.9

Type: local

Agent: unix

Published: 7/12/2013

Updated: 1/14/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.1

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

Vulnerability Information

CPE: p-cpe:/a:oracle:linux:autofs5, cpe:/o:oracle:linux:4

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/12/2007

Vulnerability Publication Date: 12/13/2007

Reference Information

CVE: CVE-2007-5964

BID: 26841

CWE: 16

RHSA: 2007:1129