| タイトル | Pavel OdintsovのFastNetMonにおける複数の脆弱性 |
|---|---|
| 概要 | FastNetMon Community Edition バージョン1.2.9までの dynamic_binary_buffer_t クラス(src/dynamic_binary_buffer.hpp)には、オフバイワンのヒープベースのバッファオーバーフローが含まれています。5つのメソッド(append_dynamic_buffer、append_data_as_pointer、append_data_as_object_ptr、memcpy_from_ptr、memcpy_from_object_ptr)は、正しいチェックである「if (offset + length maximum_internal_storage_size)」の代わりに誤った境界チェック「if (offset + length maximum_internal_storage_size + 1)」を使用しています。これにより、ヒープに割り当てられたバッファの末尾をちょうど1バイト超えて書き込みが行われる可能性があります。このクラスは BGP メッセージのエンコード/デコード、NetFlow テンプレート処理、および Flow Spec NLRI 構築に広く利用されています。攻撃者が FastNetMon インスタンスに対して(NetFlow、sFlow、IPFIX、または BGP の)ネットワークトラフィックを送信できる場合、このオーバーフローを引き起こし、ヒープメタデータを破損させることで任意のコード実行を達成する可能性があります。なお、append_byte() メソッドは正しい境界チェックを使用しており、この不整合を確認しています。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月26日0:00 |
| 登録日 | 2026年5月28日14:34 |
| 最終更新日 | 2026年5月28日14:34 |
| CVSS3.0 : 緊急 | |
| スコア | 9.8 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月28日] 掲載 |
2026年5月28日14:34 |
| 概要 | FastNetMon Community Edition through 1.2.9 contains an off-by-one heap-based buffer overflow in the dynamic_binary_buffer_t class (src/dynamic_binary_buffer.hpp). Five methods (append_dynamic_buffer, append_data_as_pointer, append_data_as_object_ptr, memcpy_from_ptr, memcpy_from_object_ptr) use an incorrect bounds check of the form 'if (offset + length > maximum_internal_storage_size + 1)' instead of the correct 'if (offset + length > maximum_internal_storage_size)'. This allows writing exactly one byte past the end of the heap-allocated buffer. The class is used pervasively in BGP message encoding/decoding, NetFlow template processing, and Flow Spec NLRI construction. An attacker who can send network traffic (NetFlow, sFlow, IPFIX, or BGP) to a FastNetMon instance can trigger this overflow, potentially achieving arbitrary code execution by corrupting heap metadata. Notably, the append_byte() method uses the correct bounds check, confirming the inconsistency. |
|---|---|
| 公表日 | 2026年5月27日4:16 |
| 登録日 | 2026年5月28日4:08 |
| 最終更新日 | 2026年5月27日11:16 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:pavel-odintsov:fastnetmon:*:*:*:*:community:*:*:* | 1.2.9 | ||||