//Example Vulnerable Code:
php
// Vulnerable PHP code snippet for file download
$fileID = $_GET['fileID'];
$filePath = "/path/to/files/" . $fileID;
if (file_exists($filePath)) {
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . basename($filePath) . '"');
readfile($filePath);
exit;
}