Description
Multiple SQL injection vulnerabilities in php-stats.recphp.php in PHP-Stats 0.1.9.1b and earlier allow remote attackers to execute arbitrary code via a leading dotted-quad IP address string in the (1) PC-REMOTE-ADDR HTTP header, which is inserted into $_SERVER['HTTP_PC_REMOTE_ADDR'], or (2) ip parameter.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- PHP-Stats 0.1.9.1b - 'PC-REMOTE-ADDR' SQL Injection EDB-3496 · webapps · Mar 16, 2007 · verified
- PHP-Stats 0.1.9.1b - 'ip' SQL Injection EDB-3497 · webapps · Mar 16, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 24553 third-party-advisory
- 3496 exploit
- 34280 vdb-entry
- phpstats-phpstatsrecphp-sql-injection(33031) vdb-entry
- ADV-2007-1004 vdb-entry
- 3497 exploit