CVE-2026-48693
| Summary |
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).
|
| Publication Date |
May 27, 2026, 2:16 a.m. |
| Registration Date |
May 27, 2026, 4:08 a.m. |
| Last Update |
May 27, 2026, 11:42 p.m. |
|
CVSS3.1 : MEDIUM
|
| スコア |
5.5
|
| Vector |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| 攻撃元区分(AV) |
ローカル |
| 攻撃条件の複雑さ(AC) |
低 |
| 攻撃に必要な特権レベル(PR) |
低 |
| 利用者の関与(UI) |
不要 |
| 影響の想定範囲(S) |
変更なし |
| 機密性への影響(C) |
なし |
| 完全性への影響(I) |
高 |
| 可用性への影響(A) |
なし |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:pavel-odintsov:fastnetmon:*:*:*:*:community:*:*:* |
|
1.2.9 |
|
|
Related information, measures and tools
Common Vulnerabilities List
JVN Vulnerability Information
Pavel OdintsovのFastNetMonにおけるリンク解釈に関する脆弱性
| Title |
Pavel OdintsovのFastNetMonにおけるリンク解釈に関する脆弱性
|
| Summary |
FastNetMon Community Edition バージョン1.2.9までには、/tmp 内の予測可能なファイルパスを介したローカルのシンボリックリンク攻撃の脆弱性があります。統計ファイルのパスはデフォルトで '/tmp/fastnetmon.dat' です(src/fastnetmon.cpp の159行目)。print_screen_contents_into_file() 関数(src/fastnetmon_logic.cpp の2186行目)は、シンボリックリンクを確認せず、または O_NOFOLLOW を使用せずに std::ios::trunc でこのパスを開きます。さらに、2190行目の chmod() 呼び出しは、渡された file_path パラメータに関係なく常に cli_stats_file_path に対して操作を行い(誤った権限を適用するバグ)ます。デーモン化時には umask が0に設定されます(src/fastnetmon.cpp の1821行目)。これにより、すべての作成されたファイルが全ユーザーに書き込み可能になります。ローカル攻撃者はこれを悪用し、FastNetMon プロセスのユーザー(通常は root)の権限で任意のファイルを上書きすることが可能です。
|
| Possible impacts |
・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 26, 2026, midnight |
| Registration Date |
May 29, 2026, 11:16 a.m. |
| Last Update |
May 29, 2026, 11:16 a.m. |
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月29日] 掲載 |
May 29, 2026, 11:16 a.m. |