HighGHSA-6569-3785-r3v6CVE-2024-21546
UniSharp Laravel Filemanager Code Injection vulnerability
Published 18 Dec 2024 · Updated 18 Dec 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
unisharp/laravel-filemanagerComposer
- Affected
- <2.9.1
- Fixed in
- 2.9.1
Update to the fixed version for your release line, for example:
composer require unisharp/laravel-filemanager:^2.9.1Details
Versions of the package unisharp/laravel-filemanager before 2.9.1 are vulnerable to Remote Code Execution (RCE) through using a valid mimetype and inserting the . character after the php file extension. This allows the attacker to execute malicious code.
Is GHSA-6569-3785-r3v6 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
- MediumCVE-2022-40734UniSharp Laravel Filemanager directory traversal vulnerability · 15 Sept 2022
- MediumCVE-2021-23814Unrestricted Upload of File with Dangerous Type in unisharp/laravel-filemanager · 6 Jan 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-21546
- Linkgithub.com/UniSharp/laravel-filemanager/commit/8170760c0ae316d77b9363cd4c76ab68d3f63f0b
- Linkgist.github.com/ImHades101/338a06816ef97262ba632af9c78b78ca
- Packagegithub.com/UniSharp/laravel-filemanager
- Linksecurity.snyk.io/vuln/SNYK-PHP-UNISHARPLARAVELFILEMANAGER-7210316
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.