UniSharp Laravel Filemanager directory traversal vulnerability
Published 15 Sept 2022 · Updated 16 Feb 2024
Is your project on an affected unisharp/laravel-filemanager?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <2.6.4
- Fixed in
- 2.6.4
composer require unisharp/laravel-filemanager:^2.6.4Details
UniSharp laravel-filemanager (aka Laravel Filemanager) with league/flysystem version < 2.0.0 allows download?working_dir=%2F.. directory traversal to read arbitrary files, as exploited in the wild in June 2022.
Since v2.6.4, UniSharp laravel-filemanager (aka Laravel Filemanager) requires users to install league/flysystem version >= 2.0.0.
Is GHSA-5m2h-7rf2-rpx6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected unisharp/laravel-filemanager, and gives you the command that fixes it.
More advisories for unisharp/laravel-filemanager
- HighCVE-2024-21546UniSharp Laravel Filemanager Code Injection vulnerability · 18 Dec 2024
- MediumCVE-2021-23814Unrestricted Upload of File with Dangerous Type in unisharp/laravel-filemanager · 6 Jan 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-40734
- Linkgithub.com/UniSharp/laravel-filemanager/issues/1150
- Linkgithub.com/UniSharp/laravel-filemanager/issues/1150#issuecomment-1320186966
- Linkgithub.com/UniSharp/laravel-filemanager/issues/1150#issuecomment-1825310417
- Linkgithub.com/UniSharp/laravel-filemanager/commit/8a357d02e8f54ddf130961c64ff2cfc1882bbfcf
- Packagegithub.com/UniSharp/laravel-filemanager
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.