This is a brief whitepaper that discusses finding remote and local file inclusion vulnerabilities and how to exploit and patch them.
You can download it from the following link: https://packetstormsecurity.com/files/download/112588/Finding_LFI_and_RFI.pdf
Source: https://packetstormsecurity.com/files/112588/Finding-RFI-And-LFI-Exploiting-And-Patching.html

