GHSA-9722-rr68-rfpg
Upload whitelisted files to any directory in OctoberCMS
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | october/cms | >= 1.0.319, < 1.0.466 | 1.0.466 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
An attacker can exploit this vulnerability to upload jpg, jpeg, bmp, png, webp, gif, ico, css, js, woff, woff2, svg, ttf, eot, json, md, less, sass, scss, xml files to any directory of an October CMS server. The vulnerability is only exploitable by an authenticated backend user with the `cms.manage_assets` permission.
### Patches
Issue has been patched in Build 466 (v1.0.466).
### Workarounds
Apply https://github.com/octobercms/october/commit/6711dae8ef70caf0e94cec434498012a2ccd86b8 to your installation manually if unable to upgrade to Build 466.
### References
Reported by [Sivanesh Ashok](https://stazot.com/)
### For more information
If you have any questions or comments about this advisory:
* Email us at [[email protected]](mailto:[email protected])
### Threat assessment:
<img width="1241" alt="Screen Shot 2020-03-31 at 12 21 10 PM" src="https://user-images.githubusercontent.com/7253840/78061230-255f5400-734a-11ea-92b4-1120f6960505.png">
References
External links from the advisory. They lead to third-party sites.
- https://github.com/octobercms/october/security/advisories/GHSA-9722-rr68-rfpg
- https://nvd.nist.gov/vuln/detail/CVE-2020-5297
- https://github.com/octobercms/october/commit/6711dae8ef70caf0e94cec434498012a2ccd86b8
- http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html
- http://seclists.org/fulldisclosure/2020/Aug/2