اختراق Hex.pm: ثغرة بدرجة 10 تتيح تنفيذ أوامر على خوادم سجل حزم Elixir وErlang
- الحصول على الرابط
- X
- بريد إلكتروني
- التطبيقات الأخرى
أعلن Hex، مدير الحزم للغتي Elixir وErlang، تعرّض خوادم موقعه hex.pm لهجوم في 23 نوفمبر. وبحسب SecurityWeek، استغل المهاجم ثغرة رمزها CVE-2026-129514 بدرجة خطورة 10 من 10، وهي فك تسلسل بيانات غير موثوقة دون مصادقة، فتمكن من تنفيذ أوامر على نظام التشغيل عبر طلب مصاغ بتنسيق Erlang خاص.
أرسل المهاجم 69 طلباً خبيثاً بين 18:16 و18:29 بالتوقيت العالمي، وطالت ست خوادم. استبدل Hex كل الخوادم بنسخ مرقّعة خلال دقائق وحجب حركة المهاجم بجدار ناري. وقال المشروع إنه لم يجد دليلاً على تعديل أي حزمة أو تغيير في قاعدة البيانات أو بقاء المهاجم داخل الأنظمة. لكنه لا يستطيع استبعاد قراءة محتوى القاعدة، وهي تضم عناوين البريد وبصمات كلمات المرور وبصمات مفاتيح API والجلسات وأسرار المصادقة الثنائية وسجلات التدقيق، لأن قراءات القاعدة لا تُسجَّل. وغيّر المشروع بيانات اعتماد التخزين والبريد وقاعدة البيانات ومفاتيح توقيع الجلسات، فخرج كل المستخدمين من حساباتهم.
ويطلب Hex من كل أصحاب الحسابات تغيير كلمة المرور وإعادة ضبط المصادقة الثنائية، وتجنب المرايا الخارجية والاعتماد على repo.hex.pm فقط، والحذر من رسائل بريد تنتحل اسمه. كما وُجد خلل من الفئة نفسها في إطار Ash، ورُقّع في مكتبات Elixir أخرى.
وجهة نظري: غياب سجلات القراءة هو لبّ المشكلة، فلا أحد يستطيع الجزم بأن البيانات لم تُسحب. وقيمة الحادثة تتجاوز Hex لأن سجلات الحزم هي سلسلة التوريد: أي تلاعب فيها يصل إلى كل مشروع يعتمد عليها. إن كنت مطوراً يستخدم Elixir فغيّر كلمة المرور وأعد ضبط المصادقة الثنائية الآن، وبدّل أي مفتاح API ربطته بحسابك، وراجع ملفات القفل في مشاريعك.
المصدر: https://www.securityweek.com/hex-package-manager-warns-of-potential-data-breach/
Hex.pm breach: a CVSS 10 flaw let an attacker run commands on the Elixir and Erlang package registry servers
Hex, the package manager for Elixir and Erlang, disclosed that its hex.pm servers were attacked on November 23. According to SecurityWeek, the attacker exploited CVE-2026-129514, rated 10 out of 10, an unauthenticated deserialization of untrusted data bug that let them run operating system commands through a crafted request body in Erlang's external term format.
The attacker sent 69 malicious requests between 18:16 and 18:29 UTC, affecting six web servers. Hex replaced all servers with patched builds within minutes and blocked the attacker's traffic with a firewall rule. The project said it found no evidence of package modification, database changes, or continued attacker access. But it cannot rule out reads of the database contents, which include email addresses, password hashes, API key hashes, sessions, two-factor secrets and audit logs, because database reads are not logged. Hex replaced its storage, email and database credentials and its session signing keys, which logged every user out.
Hex asks all account holders to change their passwords and reset two-factor authentication, to avoid third-party mirrors and use repo.hex.pm only, and to be careful with emails claiming to come from Hex. The same class of flaw was found in the Ash Framework and patched in other Elixir libraries.
My take: the missing read logs are the core problem, since nobody can say for certain that data was not pulled. The incident matters beyond Hex because package registries are the supply chain: tampering there reaches every project that depends on them. If you use Elixir, change your password and reset two-factor authentication now, rotate any API key tied to your account, and review the lock files in your projects.
- الحصول على الرابط
- X
- بريد إلكتروني
- التطبيقات الأخرى
تعليقات
إرسال تعليق