A vulnerability was detected in langflow-ai langflow up to 1.8.3. The impacted element is the function get_client_ip/install_mcp_config of the file src/backend/base/langflow/api/v1/mcp_projects.py of the component Model Context Protocol Configuration API. Performing a manipulation of the argument X-Forwarded-For results in injection. The attack may be initiated remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A remote code injection vulnerability exists in langflow-ai langflow up to version 1.8.3 through manipulation of the X-Forwarded-For header in the Model Context Protocol Configuration API. The vulnerability allows attackers to perform injection attacks without authentication, with public exploits already available.
تؤثر هذه الثغرة على وحدة تكوين بروتوكول سياق النموذج (MCP) في langflow-ai، حيث يمكن للمهاجمين استخدام رأس HTTP المزيف X-Forwarded-For لحقن أوامر ضارة. الثغرة تسمح بالوصول غير المصرح والتنفيذ المحتمل للأوامر على الخادم.
ثغرة حقن بعيدة المدى موجودة في langflow-ai langflow حتى الإصدار 1.8.3 من خلال التلاعب برأس X-Forwarded-For في واجهة برمجة تطبيقات بروتوكول سياق النموذج. تسمح الثغرة للمهاجمين بتنفيذ هجمات الحقن دون مصادقة، مع توفر استغلالات عامة بالفعل.
Upgrade langflow-ai to version 1.8.4 or later immediately. Implement input validation and sanitization for the X-Forwarded-For header. Deploy Web Application Firewall (WAF) rules to detect and block malicious X-Forwarded-For payloads. Monitor API logs for suspicious header manipulation attempts. Restrict access to MCP configuration endpoints to authorized users only.
قم بترقية langflow-ai إلى الإصدار 1.8.4 أو أحدث فوراً. قم بتطبيق التحقق من صحة المدخلات وتنظيفها لرأس X-Forwarded-For. نشر قواعد جدار الحماية لتطبيقات الويب (WAF) للكشف عن حمولات X-Forwarded-For الضارة وحجبها. مراقبة سجلات واجهة برمجة التطبيقات للكشف عن محاولات التلاعب المريبة برأس الطلب. تقييد الوصول إلى نقاط نهاية تكوين MCP للمستخدمين المصرح لهم فقط.