Local root escalation via unsafe NFS exports
Published May 27, 2024 · Updated Feb 13, 2025
Privilege escalation in FOG Project 1.5.10 and earlier allows local users to gain root access through an exported NFS image share. The configureNFS function in lib/common/functions.sh writes /etc/exports entries with insecure and no_root_squash, allowing a client-mounted share to create server files as UID 0. Exploitation requires root control on an NFS client to place an executable on the share and set its SUID bit, after which a local user can execute it as root.
Summary
What happened
Privilege escalation in FOG Project 1.5.10 and earlier allows local users to gain root access through an exported NFS image share. The configureNFS function in lib/common/functions.sh writes /etc/exports entries with insecure and no_root_squash, allowing a client-mounted share to create server files as UID 0. Exploitation requires root control on an NFS client to place an executable on the share and set its SUID bit, after which a local user can execute it as root.
The record
- CVE
- CVE-2024-34477
- Published
- May 27, 2024
- Updated
- Feb 13, 2025
- Vendor
- FOG Project
- Product
- FOG Project
- Classifications
- CWE-250, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 27, 2024CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=1.5.10
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Hackvens FOG NFS privilege-escalation proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo