CVE-2007-6285 Misconfiguration in n/a

Medium 6.2 Published Updated

Local attackers can access sensitive devices like /dev/mem via remote NFS due to missing nodev mount option in default autofs configuration.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2007-6285?

CVE-2007-6285 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 20 Dec 2007. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The default configuration for autofs 5 (autofs5) in some Linux distributions, such as Red Hat Enterprise Linux (RHEL) 4 and 5, does not specify the nodev mount option for the -hosts map, which allows local users to access "important devices" by operating a remote NFS server and creating special device files on that server, as demonstrated by the /dev/mem device.

Weakness: CWE-16

Which versions are affected by CVE-2007-6285?

It affects 1 product.

Linux distribution packages (12)
autofs5 Red Hat:enterprise_linux:4::asAll versions1:5.0.1-0.rc2.55.el4_6.2
autofs5-debuginfo Red Hat:enterprise_linux:4::asAll versions1:5.0.1-0.rc2.55.el4_6.2
autofs5 Red Hat:enterprise_linux:4::desktopAll versions1:5.0.1-0.rc2.55.el4_6.2
autofs5-debuginfo Red Hat:enterprise_linux:4::desktopAll versions1:5.0.1-0.rc2.55.el4_6.2
autofs5 Red Hat:enterprise_linux:4::esAll versions1:5.0.1-0.rc2.55.el4_6.2
autofs5-debuginfo Red Hat:enterprise_linux:4::esAll versions1:5.0.1-0.rc2.55.el4_6.2
autofs5 Red Hat:enterprise_linux:4::wsAll versions1:5.0.1-0.rc2.55.el4_6.2
autofs5-debuginfo Red Hat:enterprise_linux:4::wsAll versions1:5.0.1-0.rc2.55.el4_6.2
autofs Red Hat:enterprise_linux:5::clientAll versions1:5.0.1-0.rc2.55.el5.2
autofs-debuginfo Red Hat:enterprise_linux:5::clientAll versions1:5.0.1-0.rc2.55.el5.2
autofs Red Hat:enterprise_linux:5::serverAll versions1:5.0.1-0.rc2.55.el5.2
autofs-debuginfo Red Hat:enterprise_linux:5::serverAll versions1:5.0.1-0.rc2.55.el5.2

Products include Redhat Enterprise Linux.

How do I fix CVE-2007-6285?

Change a configuration setting.

Is CVE-2007-6285 being exploited?

There is no known exploitation of CVE-2007-6285 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as GHSA-prgm-j9hg-36mh, RHSA-2007:1176, RHSA-2007:1177.

Is CVE-2007-6285 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free