Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Steps to get new elFinder version #48

Closed
tabacitu opened this issue Nov 21, 2023 · 0 comments
Closed

Steps to get new elFinder version #48

tabacitu opened this issue Nov 21, 2023 · 0 comments

Comments

@tabacitu
Copy link
Member

This package is just a wrapper around barryvdh/laravel-elfinder, which is just a wrapper around Studio-42/elFinder. In v2.1.62 this package has received an important security fix.

We have bumped the version in https://github.com/Laravel-Backpack/FileManager/releases/tag/3.0.6 to get that fix too. But since the version is inside blade files that are published, to properly get the new version you need to do:

composer update backpack/filemanager

# remove the published blade views
rm -rf resources/views/vendor/elfinder

# publish the new blade views
php artisan backpack:filemanager:install

# clear the basset cache and cache all assets again
php artisan basset:fresh

# or, if you don't want to do the above, just cache the new asset:
php artisan basset:cache

You can see more about the vulnerability here. As specified there, "This vulnerability can be exploited by allowing untrusted users to write to the local file system.". We believe most of the developers that use our package use it for ADMINS, not USERS, so they should be safe. But you should do the steps above nonetheless.

Hope it helps!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant