CVE-2007-5964: Medium severity redhat Enterprise Linux vulnerability

Published Dec 4, 2007
·
Updated

Reported to the Red Hat Security Response Team via secalert:

"A stock install of RHEL5 and Fedora 8 (and possibly earlier versions) have /net managed by autofs (look at /etc/auto.master).

Unfortunately, the "nosuid" mount option is not specified, meaning that any system auto-mounted under /net may have arbitrary suid root binaries.

How to exploit this vulnerability: An attacker can set up an NFS server on a remote host, and connect to the vulnerable system with an unprivileged user account. From here, the attacker can change directory to /net/remote.host.tld/export on the vulnerable system, and execute arbitrary "setuid root" binaries that they have placed on their nfs server."

Acknowledgements:

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

Other sources

The default configuration of autofs 5 in some Linux distributions, such as Red Hat Enterprise Linux (RHEL) 5, omits the nosuid option for the hosts (/net filesystem) map, which allows local users to gain privileges via a setuid program on a remote NFS server.

Affected Software

1 affected component
redhat Enterprise Linux=5.0

Event History

Dec 4, 2007
Data Sourced
via Red Hat·10:13 AM
DescriptionSeverityAffected Software
Dec 13, 2007
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2007-5964?

CVE-2007-5964 is considered to have moderate severity due to the potential for privilege escalation.

2

How do I fix CVE-2007-5964?

To fix CVE-2007-5964, you should modify the autofs configuration to include the 'nosuid' mount option in the /etc/auto.master file.

3

What versions of Red Hat are affected by CVE-2007-5964?

CVE-2007-5964 affects Red Hat Enterprise Linux 5.0, Fedora 8, and possibly earlier versions.

4

What is the impact of not addressing CVE-2007-5964?

Failing to address CVE-2007-5964 may allow malicious users to execute setuid binaries from untrusted network shares.

5

Is CVE-2007-5964 patched in later versions of Red Hat?

Yes, CVE-2007-5964 is patched in subsequent updates of Red Hat Enterprise Linux and Fedora.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203