The application includes a server file based on a URL parameter.
Category: Web ¡ OWASP Top 10 đŻ Trench â The application includes a server file based on a URL parameter. Without sanitization, you ask?page=../../../etc/passwd and it spits it out.
đ Kill chain â From LFI to RCE there are three classic
bridges:
- Log Poisoning â inject PHP into
User-Agent, the log saves it, the LFI executes it. - PHP wrappers â
php://filter/convert.base64-encode/resource=to read source code without executing. - Session poisoning â write payload into a session file and include it via LFI.
../, %2e%2e%2f). Modern WAFs (ModSecurity OWASP CRS) detect
it within packets if characters arenât obfuscated.
â ď¸ False friend â Stopping at /etc/passwd and celebrating.
Thatâs medium severity. Chained to RCE, itâs critical.
đĄď¸ Remediation â Whitelist allowed files. Never concatenate
user input into include(). Use numeric IDs mapping to an
internal path dictionary.
â Back to the full glossary Last updated: 2026-06-11