RansomLook is a tool to monitor Ransomware groups and markets and extract their victims. Prior to 1.9.0, the API in the affected application improperly filters private location entries in website/web/api/genericapi.py. Because the code removes elements from a list while iterating over it, entries marked as private may be unintentionally retained in API responses, allowing unauthorized disclosure of non-public location information. This vulnerability is fixed in 1.9.0.
CVE-2026-40584 is a high-severity information disclosure vulnerability in RansomLook versions prior to 1.9.0 that exposes private location entries through improper API filtering. The flaw stems from unsafe list iteration during element removal, allowing unauthorized access to non-public victim location data. While no public exploit exists, the vulnerability directly compromises the confidentiality of sensitive ransomware victim information tracked by security organizations and law enforcement agencies.
Immediate Actions:
1. Audit all RansomLook API access logs to identify if private location entries were accessed or exfiltrated
2. Identify all systems and users with API access to RansomLook instances
3. Review exported or cached API responses for exposure of private location data
4. Notify affected organizations whose private location data may have been exposed
Patching Guidance:
1. Upgrade RansomLook to version 1.9.0 or later immediately
2. If upgrade is not immediately possible, implement API access controls restricting queries to authorized personnel only
3. Disable public API endpoints if internal-only access is sufficient
4. Implement API response filtering at the network level to strip location data from responses
Compensating Controls:
1. Deploy API gateway with response inspection to filter private location entries before delivery to clients
2. Implement strict role-based access control (RBAC) limiting API access to verified threat intelligence analysts
3. Enable comprehensive API audit logging with alerting on location data access patterns
4. Implement data loss prevention (DLP) rules to detect exfiltration of location information
Detection Rules:
1. Monitor for API calls returning location data marked as private in response payloads
2. Alert on unusual API query patterns requesting bulk location data
3. Track API responses containing location fields with private=true or similar indicators
4. Monitor for API response sizes exceeding normal baselines (indicating data leakage)
الإجراءات الفورية:
1. تدقيق جميع سجلات وصول API الخاصة بـ RansomLook لتحديد ما إذا تم الوصول إلى إدخالات الموقع الخاصة أو سرقتها
2. تحديد جميع الأنظمة والمستخدمين الذين لديهم وصول API إلى مثيلات RansomLook
3. مراجعة استجابات API المُصدَّرة أو المخزنة مؤقتًا للكشف عن تعريض بيانات الموقع الخاصة
4. إخطار المنظمات المتأثرة التي قد تكون بيانات موقعها الخاصة قد تعرضت
إرشادات التصحيح:
1. ترقية RansomLook إلى الإصدار 1.9.0 أو أحدث على الفور
2. إذا لم يكن الترقية ممكنة على الفور، قم بتنفيذ عناصر تحكم في وصول API تقيد الاستعلامات للموظفين المصرح لهم فقط
3. تعطيل نقاط نهاية API العامة إذا كان الوصول الداخلي فقط كافيًا
4. تنفيذ تصفية استجابة API على مستوى الشبكة لإزالة بيانات الموقع من الاستجابات
الضوابط التعويضية:
1. نشر بوابة API مع فحص الاستجابة لتصفية إدخالات الموقع الخاصة قبل التسليم للعملاء
2. تنفيذ التحكم في الوصول القائم على الأدوار (RBAC) يقيد وصول API إلى محللي الذكاء التهديدي المتحققين
3. تفعيل تسجيل تدقيق API الشامل مع التنبيهات على أنماط وصول بيانات الموقع
4. تنفيذ قواعد منع فقدان البيانات (DLP) للكشف عن سرقة معلومات الموقع
قواعد الكشف:
1. مراقبة استدعاءات API التي تُرجع بيانات الموقع المميزة كخاصة في حمولات الاستجابة
2. التنبيه على أنماط استعلام API غير العادية التي تطلب بيانات موقع مجمعة
3. تتبع استجابات API التي تحتوي على حقول موقع مع private=true أو مؤشرات مماثلة
4. مراقبة أحجام استجابة API التي تتجاوز خطوط الأساس العادية (مما يشير إلى تسرب البيانات)