CVE-2024-34477Published May 27, 2024 · May 27Updated Oct 28
configureNFS in lib/common/functions.sh in FOG through 1.5.10 allows local users to gain privileges by mounting a cra…
High7.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unspecified product |
| No fix yet |
Original description
configureNFS in lib/common/functions.sh in FOG through 1.5.10 allows local users to gain privileges by mounting a crafted NFS share (because of no_root_squash and insecure). In order to exploit the vulnerability, someone needs to mount an NFS share in order to add an executable file as root. In addition, the SUID bit must be added to this file.
From the CVE record · mitre
References
- github.com/FOGProject/fogproject/blob/a4bb1bf39ac53c3cbe623576915fbc3b5c80a00f/lib/common/functions.sh#L1360
- forums.fogproject.org/topic/17486/fog-1-5-10-and-earlier-nfs-privilege-escalation-vulnerabilityVendor advisory
- blog.hackvens.fr/advisories/CVE-2024-34477-Fogproject.htmlExploit
- github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34477.json
- nvd.nist.gov/vuln/detail/CVE-2024-34477