RFI to RCE
Last updated
Was this helpful?
Last updated
Was this helpful?
Remote file inclusion (RFI) is an attack targeting vulnerabilities in web applications that dynamically reference external ressources. The goal is to exploit the referencing function in an application to upload malware (e.g., backdoor shells) from a remote URL located within a different domain.
We can host an arbitrary PHP code and access it through the HTTP protocol
's (Python) script can be used on the attacker-controlled machine to create a SMB Server.
The PHP script can then be included by using a Path.