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
learnjavabug — Java安全相关的漏洞和技术demo,原生Java、Fastjson、Jackson、Hessian2、XML反序列化漏洞利用和Spring、Dubbo、Shiro、CAS、Tomcat、RMI、Nexus等框架\中间件\功能的exploits以及Java Security Manager绕过、Dubbo-Hessian2安全加固等等实践代码。 | Kitploit
Tools/GitHubGitHub/threedr3am/learnjavabug
Authentication & AuthorizationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityCryptographyPapers & ResearchLearning & EducationCurated ResourcesPayload DevelopmentBinary Exploitation
2.7k4942 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
GitHub
threedr3am/learnjavabug

learnjavabug

Java安全相关的漏洞和技术demo,原生Java、Fastjson、Jackson、Hessian2、XML反序列化漏洞利用和Spring、Dubbo、Shiro、CAS、Tomcat、RMI、Nexus等框架\中间件\功能的exploits以及Java Security Manager绕过、Dubbo-Hessian2安全加固等等实践代码。

View Repository

This project is for security research only. It is forbidden to use this project to launch illegal attacks. The user is responsible for any consequences.

This is a personal project for reproducing and publishing vulnerabilities that I find interesting or that have a significant impact. There isn't much technical depth to it — consider it a personal technical notebook.


fastjson

This module mainly records some fastjson exploitation gadgets, though many gadgets are not documented.

RCE-related

package: com.threedr3am.bug.fastjson.rce

  1. com.threedr3am.bug.fastjson.rce.FastjsonSerialize(TemplatesImpl) Exploitation conditions: fastjson <= 1.2.24 + Feature.SupportNonPublicField
  2. com.threedr3am.bug.fastjson.rce.NoNeedAutoTypePoc Exploitation conditions: fastjson < 1.2.48, no configuration required, default configuration works for universal RCE
  3. com.threedr3am.bug.fastjson.rce.HikariConfigPoc(HikariConfig) Exploitation conditions: fastjson <= 1.2.59 RCE, requires AutoType enabled
  4. com.threedr3am.bug.fastjson.rce.CommonsProxyPoc(SessionBeanProvider) Exploitation conditions: fastjson <= 1.2.61 RCE, requires AutoType enabled
  5. com.threedr3am.bug.fastjson.rce.JndiConverterPoc(JndiConverter) Exploitation conditions: fastjson <= 1.2.62 RCE, requires AutoType enabled
  6. com.threedr3am.bug.fastjson.rce.HadoopHikariPoc(HikariConfig) Exploitation conditions: fastjson <= 1.2.62 RCE, requires AutoType enabled
  7. com.threedr3am.bug.fastjson.rce.IbatisSqlmapPoc(JtaTransactionConfig) Exploitation conditions: fastjson <= 1.2.62 RCE, requires AutoType enabled
  8. com.threedr3am.bug.fastjson.rce.ShiroPoc(shiro-core) Exploitation conditions: fastjson <= 1.2.66 RCE, requires AutoType enabled ...several omitted
SSRF-related

package: com.threedr3am.bug.fastjson.ssrf

  1. com.threedr3am.bug.fastjson.ssrf.ApacheCxfSSRFPoc(WadlGenerator) Exploitation conditions: fastjson <= 1.2.66 SSRF, requires AutoType enabled
  2. com.threedr3am.bug.fastjson.ssrf.ApacheCxfSSRFPoc2(SchemaHandler) Exploitation conditions: fastjson <= 1.2.66 SSRF, requires AutoType enabled
  3. com.threedr3am.bug.fastjson.ssrf.CommonsJellySSRFPoc(Embedded) Exploitation conditions: fastjson <= 1.2.66 SSRF, requires AutoType enabled
  4. com.threedr3am.bug.fastjson.ssrf.JREJeditorPaneSSRFPoc(JEditorPane) Exploitation conditions: fastjson <= 1.2.66 SSRF, requires AutoType enabled ...several omitted
DNS domain resolution-related

package: com.threedr3am.bug.fastjson.dns

DoS denial-of-service-related

package: com.threedr3am.bug.fastjson.dos

leak information-disclosure-related

package: com.threedr3am.bug.fastjson.leak


jackson

RCE-related

package: com.threedr3am.bug.jackson.rce

  1. com.threedr3am.bug.jackson.rce.AnterosPoc
  2. com.threedr3am.bug.jackson.rce.EhcacheJndi
  3. com.threedr3am.bug.jackson.rce.H2Rce
  4. com.threedr3am.bug.jackson.rce.HadoopHikariConfigPoc
  5. com.threedr3am.bug.jackson.rce.HikariConfigPoc
  6. com.threedr3am.bug.jackson.rce.IbatisSqlmapPoc
  7. com.threedr3am.bug.jackson.rce.JndiConverterPoc
  8. com.threedr3am.bug.jackson.rce.LogbackJndi ...several omitted
SSRF

package: com.threedr3am.bug.jackson.ssrf ...several omitted


dubbo

This module mainly records dubbo-related vulnerability exploitation and security hardening.

  1. com.threedr3am.bug.dubbo.RomePoc Exploitation conditions: rome dependency present
  2. com.threedr3am.bug.dubbo.ResinPoc Exploitation conditions: com.caucho:quercus dependency present
  3. com.threedr3am.bug.dubbo.XBeanPoc Exploitation conditions: org.apache.xbean:xbean-naming dependency present
  4. com.threedr3am.bug.dubbo.SpringAbstractBeanFactoryPointcutAdvisorPoc Exploitation conditions: org.springframework:spring-aop dependency present
dubbo-hessian2-safe-reinforcement

dubbo hessian2 security hardening demo, using a blacklist approach to block certain gadgets


padding-oracle-cbc

Experimental code records for implementing padding-oracle-cbc attacks in Java

  1. com.threedr3am.bug.paddingoraclecbc.PaddingOracle padding oracle Java implementation (multi-block ciphertext implementation)
  2. com.threedr3am.bug.paddingoraclecbc.PaddingOracleCBC padding oracle cbc Java implementation (single-block <= 16bytes ciphertext implementation)
  3. com.threedr3am.bug.paddingoraclecbc.PaddingOracleCBC2 padding oracle cbc Java implementation (multi-block ciphertext implementation)
  4. com.threedr3am.bug.paddingoraclecbc.PaddingOracleCBCForShiro shiro padding oracle cbc Java implementation

xxe

Reproductions of XXE caused by various XML parsing components, along with their fix code records


commons-collections

Random stuff I wrote years ago while learning about deserialization


security-manager

Experimental code for bypassing the Java security manager


rmi

rmi-related services and their exploitation, etc.


tomcat

tomcat-related vulnerabilities

ajp-bug

tomcat ajp protocol-related vulnerabilities

  1. com.threedr3am.bug.tomcat.ajp Arbitrary file read and JSP rendering RCE CVE-2020-1938

cas

cas-related vulnerabilities

  1. cas-4.1.x~4.1.6 deserialization vulnerability (using default key)
  2. cas-4.1.7~4.2.x deserialization vulnerability (requires knowing the encryption key and signing key)

spring

Experimental code records for reproducing some Spring vulnerabilities

  1. spring-actuator(jolokia、snake-yaml、h2-hikariCP、eureka)
  2. spring-cloud-config-server(CVE-2019-3799)
  3. spring-cloud-config-server(CVE-2020-5405)
  4. spring-cloud-config-server(CVE-2020-5410)
  5. spring-session-data-redis RCE

apache-poi

Records related to apache-poi excel parsing vulnerabilities

feature

Some attack data characteristics; the original idea was to see whether regexes etc. could detect them all

java-compile

Implementation code for Java dynamic compilation and bytecode manipulation

nexus

Reproduction records of some maven nexus RCE and Auth Bypass vulnerabilities

ShardingSphere-UI

Some vulnerability records for ShardingSphere-UI

  1. CVE-2020-1947 (YAML deserialization RCE vulnerability)

shiro

Records of recently discovered shiro authentication bypass vulnerabilities

  1. bypass shiro <= 1.4.1
  2. bypass shiro <= 1.5.2 (CVE-2020-1957)
  3. bypass shiro <= 1.5.3 (CVE-2020-11989)
Download Tool