Method of Preventing SQL Injection Attack Using PHP

DING Xiang,QIU Yin,ZHENG Tao
DOI: https://doi.org/10.3969/j.issn.1000.3842.2011.11.052
2011-01-01
Abstract:The wide-spread use of PHP in Web application development makes PHP Web application become the target of many malicious attackers.On the basis of this,through the modification of PHP interpreter and runtime libraries,the PHP Web applications can prevent SQL injection attack without the modification of the original applications.Different from traditional preventing method based on dynamic tainting,this paper uses the tainting mechanism based on trusted input tainting and SQL dialect-aware check method,solves many existing problems of traditional preventing methods.As a result,this method improves the preciseness of traditional preventing method,without any false positives.Experimental result shows that the method is precise and highly efficient,has little overhead for the PHP Web applications.
What problem does this paper attempt to address?