Advisory

GHSA-9722-rr68-rfpg

Also known as: CVE-2020-5297

Summary

Upload whitelisted files to any directory in OctoberCMS

Details

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

For more information
If you have any questions or comments about this advisory:

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">

Severity

Low Basis: The source's own band: LOW

Dates

Published
2020-06-03 21:58 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

october/cms

Packagist · All systems

Affected

  • introduced 1.0.319, fixed 1.0.466 (ecosystem)

Fixed versions

1.0.466

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences