Local file inclusion (LFI) vulnerabilities are critical security issues within web applications since successful exploitation of such a vulnerability may lead to remote code execution (RCE). Alternatively, they can be used to steal sensitive information through directory traversal. An LFI vulnerability allows an attacker to locally include a file hosted on the web server (usually a malicious file being uploaded). Once successfully carrying out their inclusion attack, the attacker would typically try to obtain a reverse shell, which provides them with a command line session where arbitrary commands can be executed.
LFI vulnerabilities are usually not difficult to fix, but finding them in large codebases could be challenging without the right tools. Acunetix is a web application vulnerability scanner which, in addition to LFI, can check for RFI vulnerabilities and other file inclusion bugs, as well as Cross-site Scripting (XSS), SQL Injection (SQLi), and a myriad of other vulnerabilities and misconfigurations across thousands of web pages.
Beyond Low-Hanging Fruit
Runtime Source Code Analysis
In addition to being a fully automated black box scanner (no knowledge of backend code), Acunetix also provides AcuSensor as part of its standard offering. AcuSensor is a an optional sensor for Java, ASP.NET, and PHP applications that can easily be deployed on the application backend to analyse source code while it is in execution by the scanner, giving even more accurate results and even fewer false positives.
Learn more about prominent vulnerabilities, keep up with recent product updates, and catch the latest news from Acunetix.
“We use Acunetix as part of our Security in the SDLC and to test code in DEV and SIT before being promoted to Production.”Kurt Zanzi, Xerox CA-MMIS Information Securtiy Office, Xerox