ctf-web-vulnslisted
Install: claude install-skill bilal-spotted/claude-code-ctf-rig
# CTF Web Vulnerability Catalog
Work top-down. For each class: the tell (what hints at it), the fastest
confirm, then the exploit path.
## SQL Injection
- Tell: input reaching a query, login forms, id/search params, DB errors.
- Confirm: `'` then `' OR '1'='1`; time-based `' OR SLEEP(5)-- -`.
- Exploit: sqlmap for automation; manual UNION for column count via
ORDER BY; extract via information_schema. Blind = boolean/time oracle.
## Server-Side Template Injection (SSTI)
- Tell: input reflected into a page, Python/Flask/Jinja, Node/handlebars.
- Confirm: `{{7*7}}` -> 49; `${7*7}`; `<%= 7*7 %>`. Identify engine.
- Exploit: Jinja2 -> `{{cycler.__init__.__globals__.os.popen('id').read()}}`
or config/class traversal to RCE. Note the engine before payloading.
## SSRF
- Tell: URL/host params, webhook, image fetch, PDF render, "url=".
- Confirm: point at your listener; check for internal metadata endpoints.
- Exploit: reach 127.0.0.1 internal services, cloud metadata (169.254.169.254),
file:// scheme, gopher:// for raw protocol smuggling.
## XXE
- Tell: XML upload/parse, SOAP, SVG, docx.
- Confirm: external entity to read /etc/passwd via DOCTYPE.
- Exploit: file read; blind XXE via external DTD + OOB exfil.
## IDOR / Access Control
- Tell: object ids in URL/body (?id=, /user/5), predictable references.
- Confirm: increment/decrement/swap the id, observe others' data.
- Exploit: enumerate ids; try admin-only routes; method tampering.
## JWT
- Tell: eyJ.