Hunting Server Side And Edge Side Includes

Hunt server-side include and edge-side include injection, where untrusted input is reflected into a document that a processor later interprets for include and exec directives. When an origin server has server-side includes enabled, a reflected directive can read a server file or run a command. When a cache, content-delivery network, or proxy in front of the origin parses edge-side include tags, a reflected tag can fetch an internal URL for server-side request forgery, poison a shared cache, or copy a victim's cookie into a page. The edge case is easy to miss because the origin developer never sees the processor that evaluates the tag. Use when reflected input reaches a document that an include-capable server or edge tier processes. The reflected input is the source, the include or exec directive the processor evaluates is the sink, and the resulting file read, command, request forgery, or cache poisoning is the bug.

UnboundCompute Updated

File contents

UnboundCompute/security-agent-skills/tree/main/skills/hunting-server-side-and-edge-side-includes commit 538f62b35e

Frequently asked questions

npx skillmds@latest add unboundcompute/hunting-server-side-and-edge-side-includes