A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Laravel-Mediable before 7.0.0 contains a path traversal vulnerability in the File::sanitizePath() function that allows attackers to write uploaded files to arbitrary locations by controlling the directory argument passed to MediaUploader::toDestination(). Attackers can exploit the permissive character-class regex that allows both dot and slash characters combined with an ineffective trailing trim() call to bypass sanitization and upload files to sensitive locations such as the document root, environment configuration files, or application configuration directories, enabling remote code execution.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /plank/laravel-mediable/commit/6d1e7fb39922fdfb3b2d120e13f4…
- github.com /plank/laravel-mediable/releases/tag/7.0.0
- www.vulncheck.com /advisories/laravel-mediable-path-traversal-via-file-saniti…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning