CVE-2026-48693 FastNetMon Community Edition through 1.2.9 is vulnerable to a local symlink attack via predictable…
설명
FastNetMon Community Edition through 1.2.9 is vulnerable to a local symlink attack via predictable file paths in /tmp. The statistics file path defaults to '/tmp/fastnetmon.dat' (src/fastnetmon.cpp line 159). The print_screen_contents_into_file() function (src/fastnetmon_logic.cpp line 2186) opens this path with std::ios::trunc without checking for symlinks or using O_NOFOLLOW. Additionally, the chmod() call on line 2190 always operates on cli_stats_file_path regardless of which file_path parameter was passed (a bug that applies wrong permissions), and the umask is set to 0 during daemonization (src/fastnetmon.cpp line 1821), making all created files world-writable. A local attacker can exploit this to overwrite arbitrary files as the FastNetMon process user (typically root).
영향 받는 제품 제품 1개
-
NVD 기준
pavel-odintsov
fastnetmon
영향 받는 버전
- 1.2.9 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 4건
- github.com https://github.com/pavel-odintsov/fastnetmon (새 창)
- github.com https://github.com/pavel-odintsov/fastnetmon/blob/master/src/fastnetmon.cpp (새 창)
- github.com https://github.com/pavel-odintsov/fastnetmon/blob/master/src/fastnetmon_logic.cpp (새 창)
- lorikeetsecurity.com https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48693-symlink-tmp (새 창)