WASET
	@article{(Open Science Index):https://publications.waset.org/pdf/5353,
	  title     = {A New Source Code Auditing Algorithm for Detecting LFI and RFI in PHP Programs},
	  author    = {Seyed Ali Mir Heydari and  Mohsen Sayadiharikandeh},
	  country	= {},
	  institution	= {},
	  abstract     = {Static analysis of source code is used for auditing web
applications to detect the vulnerabilities. In this paper, we propose a
new algorithm to analyze the PHP source code for detecting LFI and
RFI potential vulnerabilities. In our approach, we first define some
patterns for finding some functions which have potential to be abused
because of unhandled user inputs. More precisely, we use regular
expression as a fast and simple method to define some patterns for
detection of vulnerabilities. As inclusion functions could be also used
in a safe way, there could occur many false positives (FP). The first
cause of these FP-s could be that the function does not use a usersupplied
variable as an argument. So, we extract a list of usersupplied
variables to be used for detecting vulnerable lines of code.
On the other side, as vulnerability could spread among the variables
like by multi-level assignment, we also try to extract the hidden usersupplied
variables. We use the resulted list to decrease the false
positives of our method. Finally, as there exist some ways to prevent
the vulnerability of inclusion functions, we define also some patterns
to detect them and decrease our false positives.},
	    journal   = {International Journal of Computer and Information Engineering},
	  volume    = {2},
	  number    = {9},
	  year      = {2008},
	  pages     = {2951 - 2956},
	  ee        = {https://publications.waset.org/pdf/5353},
	  url   	= {https://publications.waset.org/vol/21},
	  bibsource = {https://publications.waset.org/},
	  issn  	= {eISSN: 1307-6892},
	  publisher = {World Academy of Science, Engineering and Technology},
	  index 	= {Open Science Index 21, 2008},
	}