File Inclusion
Remote File Inclusion (RFI)
If we find a way to include a remote file, we could try to include php code to execute commands on the host
We could serve a malicious PHP code so that the host interprets it.
If the server were blocking access to external resources, we could try using the data://
wrapper to inject PHP code as base64.
Local File Inclusion (LFI)
Absolute Path
Relative Path Traversal
Null Byte
Encoding
Absolute Path
Truncation
Filtered characters
References
Last updated