What problem does it solve?
This Skill helps in identifying and addressing JNDI injection vulnerabilities in Java applications, especially those utilizing Log4j2, Spring, or other frameworks that perform JNDI lookups with attacker-controlled names.
Core Features & Use Cases
- Vulnerability Detection: Identifies when Java applications are performing JNDI lookups with attacker-controlled names.
- Attack Vector Analysis: Provides insights into RMI, LDAP, and DNS attack vectors.
- JDK Version Constraints: Details on JDK version constraints and bypass methods, including the impact of Log4Shell (CVE-2021-44228).
- Tooling: Lists various tools like marshalsec and JNDI-Injection-Exploit for testing and exploitation.
- Testing Methodology: Offers a structured approach to testing JNDI injection vulnerabilities in applications.
Quick Start
Use the jndi-injection skill to check for JNDI injection vulnerabilities in your Java application by executing the following command: 'jndi-injection scan my-app.jar'