What problem does it solve?
This Skill solves the challenge of identifying and exploiting hard-to-detect JNDI injection vulnerabilities in Java applications, which can enable unauthenticated remote code execution and are often missed by automated vulnerability scanners.
Core Features & Use Cases
- Comprehensive Attack Coverage: Includes guidance for RMI and LDAP attack vectors, JDK version-specific restriction bypasses (including post-8u191 serialized gadget and BeanFactory EL injection paths), and Log4Shell (CVE-2021-44228) specific exploitation.
- Tooling & Payload Guidance: Provides setup instructions for marshalsec, ysoserial, and Rogue JNDI, plus WAF-obfuscated Log4j payload variants and detection probes for common sinks in Log4j2, Spring, Solr, and Fastjson.
- Structured Testing Methodology: Offers a step-by-step workflow for confirming JNDI injection, determining target JDK versions, selecting appropriate exploit strategies, and avoiding common detection pitfalls.
Use case: A security tester can use this Skill to confirm a Log4Shell vulnerability in a Java-based web application, bypass WAF filters using obfuscated payloads, and achieve remote code execution on the target server during an authorized engagement.
Quick Start
Use the jndi-injection skill to test a suspected JNDI injection point in a Java application by first sending a DNS-only probe to confirm the vulnerability, then select the appropriate exploit strategy based on the target JDK version and available gadget chains.