### [CVE-2007-3997](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3997) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE. ### POC #### Reference - http://securityreason.com/securityalert/3102 - https://www.exploit-db.com/exploits/4392 #### Github No PoCs found on GitHub currently.