English | ็ฎไฝไธญๆ
SSP is a lightweight, high-performance vulnerability scanner and exploitation tool for the Spring ecosystem written in Go. It supports detection and exploitation across 17 vulnerability modules, information-leak endpoint probing (Actuator / Swagger / Druid), custom wordlists, concurrency and rate-limiting controls, and a built-in MCP serverโexposing all capabilities to AI clients (Claude Desktop, ZCode, Cursor, etc.) for end-to-end AI-assisted fingerprinting, scanning, and validation.
๐ค v2.x was refactored end-to-end with AI: architecture redesign, unified interface across all 17 vulnerability modules, unit tests & CI, and the MCP server were implemented by AI (ZCode), with human specification, review, and real-world environment testing.
- Multi-Vulnerability Detection & Exploitation: 17 vulnerability modules behind a unified interface (safe
Detect/ controlledExploit); adding a new vulnerability only requires adding a single file. - Information-Leak Probing: Built-in wordlist of 210+ endpoints (Actuator / Swagger / Druid), supporting
-dto merge or-Dto replace with custom wordlists. - Dual Mode: CLI binary + MCP server (
stdio), returning structured JSON for both detection and exploitation. - Concurrency & Rate Limiting: Worker pool + global rate limiting + context cancellation for stable long-running scans.
- Safety Gates: MCP mode enforces target allowlisting (
--scope), opt-in exploitation (--enable-exploit), and full invocation audit logging. - Clean Output: Colored terminal output + plain-text file output for batch scans.
RCE / SpEL Injection
- CVE-2022-22965 Spring Framework RCE (Spring4Shell)
- CVE-2022-22963 Spring Cloud Function SpEL RCE
- CVE-2022-22947 Spring Cloud Gateway SpEL RCE
- CVE-2018-1273 Spring Data Commons SpEL RCE
- CVE-2018-1270 Spring Messaging STOMP selector SpEL RCE
- CVE-2017-8046 Spring Data REST PATCH path SpEL RCE
- CVE-2017-4971 Spring WebFlow
transitionparameter SpEL RCE - CVE-2016-4977 Spring Security OAuth2
response_typeSpEL RCE (with command output)
Information Disclosure / File Read / Auth Bypass
- CVE-2025-41243 Spring Cloud Gateway environment property modification (extensible to arbitrary file read)
- CVE-2025-41242 Spring Framework + Jetty URI parsing mismatch path traversal (Ghost Bits)
- CVE-2021-21234 Spring Boot log view arbitrary file read
- CVE-2022-22978 Spring Security
RegexRequestMatcherauthentication bypass
Deserialization / File Upload
- CVE-2024-37084 Spring Cloud Data Flow / Skipper deserialization RCE
- SnakeYAML-RCE Spring Boot config injection deserialization
- Eureka-Xstream-RCE Eureka XStream deserialization
- Jolokia-JNDI-RCE Jolokia misconfiguration RCE
- JeeSpring-2023 JeeSpringCloud arbitrary file upload
ssp -v http://example.com
Automatically performs fingerprinting and non-destructive detection across all modules, then lists exploitable modules so you can choose whether to enter an interactive shell.
ssp -v http://example.com -c "id" # First matched & exploitable module
ssp -v http://example.com -ce CVE-2022-22947 -c "id" # Target a specific CVE moduleRecommended for scripting and AI automation: probe โ match โ execute โ structured result.
ssp -u http://example.com
ssp -uf urls.txt # Batch info-leak scan
ssp -vf urls.txt # Batch vulnerability detectionssp -u http://example.com -d mydict.txt # Merge with built-in wordlist (auto-deduplicated)
ssp -u http://example.com -D mydict.txt # Replace built-in wordlist completelyOne path per line; # comments supported; automatically strips BOM, deduplicates, and normalizes leading /.
ssp -u http://example.com -p socks5://127.0.0.1:1080 -t 30 -delay 1 -timeout 5| Flag | Description |
|---|---|
-u <url> |
Run info-leak scan on a single URL |
-uf <file> |
Batch info-leak scan from file |
-v <url> |
Run vulnerability detection on a single URL (interactive shell on hit) |
-vf <file> |
Batch vulnerability detection from file |
-c <cmd> |
Execute a single command on hit (non-interactive, used with -v) |
-ce <cve> |
Specify the CVE/module ID to execute the command against |
-p <proxy> |
Proxy URL, e.g. socks5|http://user:pass@host:port |
-d <file> |
Custom wordlist merged with built-in list (# for comments) |
-D <file> |
Custom wordlist replacing the built-in list |
-t <n> |
Concurrency per target for endpoint probing (default: 20) |
-o <file> |
Output file for info-leak scan results (default: result.txt) |
-debug |
Print detailed error info for failed requests |
-delay <s> |
Global request interval in seconds (0 = unlimited) |
-timeout <s> |
Per-request timeout in seconds (default: 6) |
-version |
Print version information |
Expose all detection and exploitation tools to AI clients (Claude Desktop, ZCode, Cursor, etc.):
ssp mcp --scope 127.0.0.1 --enable-exploit{
"mcpServers": {
"scan-spring-go": {
"command": "/path/to/ssp",
"args": ["mcp", "--scope", "127.0.0.1", "--enable-exploit"]
}
}
}| Tool | Description |
|---|---|
list_vulns |
List supported vulnerability modules (ID, type, severity, parameters) |
spring_fingerprint |
Spring framework fingerprinting |
spring_leak_scan |
Actuator / Swagger / Druid info-leak probing |
spring_vuln_detect |
Non-destructive detection for all or a specific CVE |
spring_exploit |
Exploitation execution (requires explicit --enable-exploit) |
batch_scan |
Multi-target batch detection |
--scope: Target allowlist (domains/IPs); out-of-scope requests are rejected immediately.spring_exploitis not registered by default and requires--enable-exploitexplicitly.- Every tool call writes an audit log entry to
stderr(timestamp, tool, target, arguments).
go build -o ssp .
go test ./...- Always comply with applicable laws and regulations and only scan targets you are explicitly authorized to test.
- Unauthorized scanning or exploitation may violate laws; users assume full responsibility for their actions.
- Some exploits modify target runtime state (e.g., property changes in CVE-2025-41243 or log valves in CVE-2022-22965). The tool attempts to restore state afterward, though restarting the target service is recommended for full cleanup.
This tool is intended strictly for technical research and educational purposes. Do not use it for illegal activities. The author assumes no responsibility for any legal liability arising from misuse.
If you find this project helpful, please leave a โญ on the repository and follow the WeChat Official Account: SSPๅฎๅ จ็ ็ฉถ.
Feel free to open an issue for bug reports or feature requests!
