Weblate is a web based localization tool. Prior to 5.15.2, the screenshot images were served directly by the HTTP server without proper access control. This could allow an unauthenticated user to access screenshots after guessing their filename. This vulnerability is fixed in 5.15.2.
Weblate versions prior to 5.15.2 contain an improper access control vulnerability allowing unauthenticated users to access screenshot images by guessing filenames. This affects organizations using Weblate for localization and translation management, potentially exposing sensitive project documentation and internal communications. The vulnerability requires no authentication and poses a moderate-to-high risk for organizations handling confidential localization content.
1. IMMEDIATE ACTIONS:
- Identify all Weblate instances in your environment and verify current version
- Restrict network access to Weblate servers using firewall rules (allow only authenticated users)
- Review access logs for suspicious screenshot access attempts
2. PATCHING:
- Upgrade all Weblate installations to version 5.15.2 or later immediately
- Test patches in non-production environments first
- Schedule maintenance windows for production upgrades
3. COMPENSATING CONTROLS (if immediate patching not possible):
- Implement web application firewall (WAF) rules to block direct screenshot access patterns
- Configure HTTP server (nginx/Apache) to require authentication for /screenshots/ directory
- Implement rate limiting on screenshot requests
- Use reverse proxy authentication layer
4. DETECTION:
- Monitor for HTTP 200 responses to screenshot requests from unauthenticated sources
- Alert on sequential filename enumeration attempts (e.g., screenshot_1.png, screenshot_2.png)
- Log all access to /screenshots/ directory with source IP and user agent
- Search logs for patterns: GET.*screenshot.*\.(png|jpg|jpeg|gif)
1. الإجراءات الفورية:
- تحديد جميع مثيلات Weblate في بيئتك والتحقق من الإصدار الحالي
- تقييد الوصول إلى شبكة خوادم Weblate باستخدام قواعد جدار الحماية (السماح فقط للمستخدمين المصرح لهم)
- مراجعة سجلات الوصول لمحاولات الوصول المريبة إلى لقطات الشاشة
2. التصحيح:
- ترقية جميع تثبيتات Weblate إلى الإصدار 5.15.2 أو أحدث فوراً
- اختبار التصحيحات في بيئات غير الإنتاج أولاً
- جدولة نوافذ الصيانة لترقيات الإنتاج
3. الضوابط البديلة (إذا لم يكن التصحيح الفوري ممكناً):
- تنفيذ قواعد جدار تطبيقات الويب (WAF) لحظر أنماط الوصول المباشر إلى لقطات الشاشة
- تكوين خادم HTTP (nginx/Apache) لمطالبة المصادقة لدليل /screenshots/
- تنفيذ تحديد معدل الطلبات على طلبات لقطات الشاشة
- استخدام طبقة مصادقة وكيل عكسي
4. الكشف:
- مراقبة استجابات HTTP 200 لطلبات لقطات الشاشة من مصادر غير مصرح لها
- تنبيه على محاولات تعداد أسماء الملفات المتسلسلة
- تسجيل جميع الوصول إلى دليل /screenshots/ مع عنوان IP ووكيل المستخدم
- البحث في السجلات عن الأنماط: GET.*screenshot.*\.(png|jpg|jpeg|gif)