Apache Tomcat Remote Code Execution Vulnerability — When running Apache Tomcat, it is possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.
Apache Tomcat versions before 7.0.81, 8.0.47, and 8.5.16 allow remote code execution through JSP file upload via specially crafted requests. An attacker can upload malicious JSP files and execute arbitrary code on the server.
تسمح هذه الثغرة بتحميل ملفات JSP ضارة إلى خادم Tomcat من خلال طلبات مصممة خصيصاً. يمكن للمهاجم بعد ذلك طلب الملف المرفوع وتنفيذ أي كود يحتويه على الخادم. هذا يؤدي إلى السيطرة الكاملة على الخادم وإمكانية الوصول إلى البيانات الحساسة.
Apache Tomcat versions before 7.0.81, 8.0.47, and 8.5.16 allow remote code execution through JSP file upload via specially crafted requests. An attacker can upload malicious JSP files and execute arbitrary code on the server.
Upgrade Apache Tomcat to version 7.0.81, 8.0.47, 8.5.16 or later. Disable file upload functionality if not required. Implement strict input validation and file type restrictions. Apply web application firewall rules to block suspicious JSP upload requests. Restrict access to upload directories.
قم بترقية Apache Tomcat إلى الإصدار 7.0.81 أو 8.0.47 أو 8.5.16 أو أحدث. عطّل وظيفة رفع الملفات إذا لم تكن مطلوبة. طبّق التحقق الصارم من المدخلات وقيود نوع الملف. طبّق قواعد جدار الحماية لتطبيقات الويب لحجب طلبات رفع JSP المريبة. قيّد الوصول إلى مجلدات الرفع.