Hexret

Web Security · File handling

Remote File Inclusion

Also known as: RFI

An inclusion sink accepts an attacker-controlled remote URL and loads its response as code or template content. This requires a reachable inclusion mechanism that permits remote sources; a plain file read or URL fetch does not itself execute the response. Keep inclusion targets fixed or chosen from a strict server-side allowlist.

Where you practice it

Related terms