Exploring Http Shells With Cve 2020 14882
The Oracle WebLogic Server administrative console was vulnerable to unauthenticated remote code execution (CVE-2020-14882). An attacker could execute arbitrary commands, but the EDR blocked reverse shells, so the author built an HTTP-based shell to exfiltrate command output.
Published on infosecwriteups.com
During an internal network assessment, a Nessus scan flagged CVE-2020–14882, a critical vulnerability in Oracle WebLogic Server affecting 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. This issue resides in the server’s administrative console and can be exploited remotely via HTTP without…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a missing authentication check in the WebLogic administrative console allowed unauthenticated access to a path that could execute code.
Impact
An unauthenticated attacker could execute arbitrary commands on the WebLogic server, but the EDR blocked reverse shells and some commands, limiting full interactive control.
What the attacker needed
Network access to WebLogic console; vulnerable WebLogic version; attacker-controlled server for HTTP exfiltration
The fix
Oracle released patches; immediate remediation is advised.
How it was found
- A Nessus scan flagged CVE-2020-14882 on a WebLogic server.
- The author confirmed RCE by making the server ping a Python server they controlled.
- Reverse shells were blocked by CrowdStrike EDR.
- The author crafted PowerShell commands that sent output via HTTP requests to a listener.
- To handle inconsistent request volumes, they opened a random port per command and closed it after receiving the request.
- Some commands were blocked, so output was written to a file and retrieved via another HTTP request.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A server had a serious flaw that let anyone run commands on it without logging in. The attacker used this to run commands, but the security software blocked normal reverse shells, so they made the server send command results back over web requests instead.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.