
The PitWhere the crew shows up.

An attacker accessed your internal services through your user's browser. Localhost is not as local as you think. DNS rebinding turns every browser into a tunnel to your private network. Admin dashboards. Database interfaces. Dev servers. No auth because they are not supposed to be reachable. The attacker sends a link. DNS initially points to their server, then switches to 127.0.0.1. The browser treats requests to the attacker's domain as requests to localhost. Same-origin policy allows it. The attacker's JavaScript reads responses from your internal services. Direct your AI to validate the Host header on every internal service. Your dev server may bind to 0.0.0.0 instead of 127.0.0.1. Accepts connections from any network interface. Direct your AI to bind to 127.0.0.1 explicitly. Add authentication to every internal tool regardless of network exposure. A dashboard without a login is accessible to any script in the browser if DNS resolves to the machine. The internet is not your only threat surface. Your user's browser is.
PROMPT: You are a network security auditor specializing in DNS rebinding and internal service exposure. Review the following application for DNS rebinding vulnerabilities. Check: (1) Do internal services (admin dashboards, dev servers, database interfaces) validate the Host header? Flag missing validation as CRITICAL. (2) Are development and internal services bound to 127.0.0.1 or to 0.0.0.0? Flag 0.0.0.0 bindings as HIGH. (3) Do internal services require authentication regardless of network location? Flag unauthenticated internal services as CRITICAL. (4) Is CORS configured on internal services to prevent cross-origin access? (5) Are internal services running on predictable ports that automated scanners target? (6) Is there a reverse proxy in front of internal services that validates the Host header centrally? (7) Are DNS rebinding protections (dnsmasq stop-dns-rebind, browser DNS rebinding protection) configured on the network? For each finding, provide the exact configuration or middleware fix.


Comments
Start the Conversation