Skip to content
Back to skills

Server Leaks

ASecurity

Detection of internal IP, hostname and filesystem-path leakage through headers, redirects, errors and responses that expose backend topology. Tier 1. Use while reviewing headers/errors on any authorized web/API target.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securitygoapibackend

Works with

  • api

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill server-leaks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Server Leaks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Server Leaks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-server-leaks/badge)](https://www.skillsdirectory.com/skills/anandjogawade-server-leaks)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: server-leaks
description: Detection of internal IP, hostname and filesystem-path leakage through headers, redirects, errors and responses that expose backend topology. Tier 1. Use while reviewing headers/errors on any authorized web/API target.
---

# Server / Internal Leakage (IPs, hostnames, paths)

Backends leak their own topology — private IPs, internal DNS names, absolute paths, upstream server IDs — which maps the network behind the edge and enables SSRF/spoofing.

## Trigger phrases
`internal ip leak, hostname leak, path disclosure, server leak, private ip, backend hostname, header leak`

## Method
1. Dump all response headers across endpoints: look for `X-Powered-By`, `Server`, `Via`, `X-Backend-Server`, `X-Served-By`, `X-Cache`, `X-AspNet-Version`, `X-Forwarded-*` echoes, `Content-Location`, custom `X-*` with internal names.
2. **Redirect leaks**: request `/` or dirs without trailing slash; a `Location:` with an internal IP/hostname (`http://10.x`, `.internal`, `.local`, container names) exposes the origin. Send `Host:` variants and watch where it redirects.
3. **Error/path leaks**: force errors (`info-disclosure`) to surface absolute paths (`/var/www/...`, `C:\inetpub\...`), DB host strings, and internal URLs.
4. **Reflected infra**: SSRF/metadata responses, PDF/exports/webhooks revealing the fetching host; mail headers (`Received:`) exposing internal relays/IPs.
5. Grep responses/JS for RFC1918 ranges, `*.internal/.corp/.svc.cluster.local`, cloud-internal (`*.compute.internal`, `metadata.google.internal`), and k8s service names.

## Modern / rare techniques
- **Host-header-reflected origin IP** → bypass CDN/WAF by hitting the origin directly (`waf-bypass`).
- **ETag/`Last-Modified` + server ID** correlation to fingerprint load-balanced backends.
- **TLS SAN / cert leaks** and default vhost responses exposing internal names → `vhost-discovery`.

## Escalation / chaining
Internal IPs/hosts seed `web-ssrf` targets, `network-pentest` scope, and origin-IP WAF bypass. Chains with `info-disclosure`, `server-ident`, `host-header-injection`.

## Backend & tooling
Kali/HexStrike (curl/httpx -include-response-header/Burp). Proxy history to diff headers across hosts.

## Verification (background, before reporting)
Reproduce the leak independently; confirm the leaked IP/host is genuinely internal (not public) and consistent. Where it enables origin access, verify reachability via OAST/direct connect within RoE.

## Evidence
Request/response showing the leak, the internal IP/host/path, how it aids further attack, remediation (strip internal headers, use public hostnames in redirects, sanitize errors).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.