FastNetMon Community Edition through 1.2.9 contains multiple out-of-bounds reads in the BGP MP_REACH_NLRI IPv6 attribute decoder. The function decode_mp_reach_ipv6() in src/bgp_protocol.cpp contains a TODO comment at line 156 explicitly acknowledging 'we should add sanity checks to avoid reads after attribute memory block.' The function casts raw pointers to structure types without verifying sufficient data exists (line 158), uses the attacker-controlled length_of_next_hop field to determine memcpy size (line 181), and computes prefix_length by dereferencing a pointer calculated from multiple attacker-controlled offsets without bounds validation (line 189). The prefix_length is then used to calculate number_of_bytes_required_for_prefix which becomes a memcpy length (line 202) with no check against remaining buffer size.
FastNetMon Community Edition through 1.2.9 contains multiple out-of-bounds read vulnerabilities in BGP MP_REACH_NLRI IPv6 attribute decoder due to missing bounds validation. Attackers can trigger memory disclosure or denial of service by sending crafted BGP packets with malicious attribute lengths.
تحتوي دالة decode_mp_reach_ipv6() على تعليقات TODO تعترف بالحاجة لإضافة فحوصات الصحة. تقوم الدالة بتحويل المؤشرات الخام إلى أنواع هياكل دون التحقق من وجود بيانات كافية وتستخدم حقول الطول التي يتحكم فيها المهاجم في عمليات نسخ الذاكرة. يمكن للمهاجمين استغلال هذه الثغرات لقراءة ذاكرة حساسة أو إيقاف الخدمة.
إصدارات FastNetMon Community حتى 1.2.9 تحتوي على ثغرات قراءة خارج الحدود المتعددة في فك تشفير سمة BGP MP_REACH_NLRI IPv6 بسبب عدم التحقق من صحة الحدود. يمكن للمهاجمين تشغيل الكشف عن الذاكرة أو رفض الخدمة بإرسال حزم BGP مصنوعة بطول سمة ضار.
Upgrade FastNetMon Community Edition to version 1.2.10 or later. Implement network segmentation to restrict BGP traffic sources. Deploy BGP packet validation at network perimeter. Monitor BGP sessions for anomalous attribute lengths. Apply input validation patches and enable memory protection mechanisms.
قم بترقية FastNetMon Community Edition إلى الإصدار 1.2.10 أو أحدث. قم بتطبيق تقسيم الشبكة لتقييد مصادر حركة BGP. نشر التحقق من صحة حزم BGP على محيط الشبكة. مراقبة جلسات BGP للكشف عن أطوال السمات الشاذة. تطبيق تصحيحات التحقق من الإدخال وتفعيل آليات حماية الذاكرة.