ثغرة صفر في Cacti تتيح تنفيذ أوامر عن بُعد بأربعة طلبات HTTP فقط ودون تسجيل دخول
- الحصول على الرابط
- X
- بريد إلكتروني
- التطبيقات الأخرى
كشف باحث يستخدم الاسم المستعار ek0ms savi0r عن ثغرة صفر في Cacti، الأداة مفتوحة المصدر لمراقبة الشبكات، تتيح تنفيذ أوامر عن بُعد دون تسجيل دخول. وتُعرف الثغرة باسم 4HTTP2SHELL و4HTTP2ROOT، ولم يُخصَّص لها رقم CVE بعد. وقد نُشر مثال استغلال عملي لها.
تصيب الثغرة الإصدار 1.2.31، وهو الأحدث، عندما يكون حساب الضيف مفعّلاً. يكفي أربعة طلبات HTTP على واجهة الضيف الافتراضية: أولاً تُكتب قيمة غير رقمية في إعداد يتحكم بعدد الرسوم المعروضة، لأن Cacti لا تتحقق من كونها رقماً، فتتحول إلى حقن SQL من المرتبة الثانية. ثم يُعدَّل سجل في جدول المُجمِّع (poller)، وفي الخطوة الأخيرة تقرأ الأداة هذا السجل وتمرره إلى دالة popen في PHP دون أي تنقية، فيُنفَّذ الأمر.
تحذّر watchTowr من أن Cacti تحتفظ عادةً ببيانات اتصال الراوترات والمحوّلات والخوادم، فاختراقها يعطي المهاجم موطئ قدم يتجاوز خادم المراقبة نفسه، وقد يتيح إسكات التنبيهات بتعديل جدول المُجمِّع. وحتى الآن، تنصح الجهات المعنية بتعطيل حساب الضيف وحصر الوصول إلى واجهة الويب ومراجعة أوامر المُجمِّع بحثاً عن قيم غريبة.
وجهة نظري: أدوات المراقبة تُهمَل أمنياً لأنها تُعتبر داخلية، لكنها تملك مفاتيح الشبكة. عطّلوا حساب الضيف اليوم، وضعوا Cacti خلف VPN أو قائمة عناوين مسموحة، وافحصوا جدول poller_item بحثاً عن أوامر لا تعرفونها، وراقبوا صدور التصحيح الرسمي.
المصدر: https://thehackernews.com/2026/11/unpatched-cacti-zero-day-enables-rce-in.html
Cacti zero-day gives remote code execution in just four HTTP requests, no login needed
A researcher using the alias ek0ms savi0r disclosed a zero-day in Cacti, the open-source network monitoring tool, that allows remote code execution without logging in. It is tracked as 4HTTP2SHELL and 4HTTP2ROOT and has no CVE yet. A working proof-of-concept exploit is public.
The flaw affects version 1.2.31, the latest, when the guest account is enabled. Four HTTP requests against the default guest surface are enough: a non-numeric value is written into a setting that controls how many graphs are shown, Cacti does not check that it is a number, and it becomes a second-order SQL injection. A record in the poller table is then modified, and in the last step the tool reads that record and passes it to PHP's popen function with no sanitization, so the command runs.
watchTowr warns that Cacti usually stores connection details for routers, switches and servers, so compromising it gives an attacker a foothold well beyond the monitoring server, and the poller table can even be altered to suppress alerts. Until a fix ships, the advice is to disable the guest account, restrict access to the web interface and review poller entries for unexpected commands.
My take: monitoring tools get neglected because they are seen as internal, yet they hold the keys to the network. Disable the guest account today, put Cacti behind a VPN or an allowlist, check the poller_item table for commands you do not recognize, and watch for the official patch.
- الحصول على الرابط
- X
- بريد إلكتروني
- التطبيقات الأخرى
تعليقات
إرسال تعليق