CVE-2017-15284 OctoberCMS Cross-Site Scripting
An attacker can upload a malicious SVG avatar to execute JavaScript in the admin's browser, potentially leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-15284?
CVE-2017-15284 is a medium-severity cross-site scripting vulnerability in Octobercms October, published on 12 Oct 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-Site Scripting exists in OctoberCMS 1.0.425 (aka Build 425), allowing a least privileged user to upload an SVG file containing malicious code as the Avatar for the profile. When this is opened by the Admin, it causes JavaScript execution in the context of the Admin account.
Weakness: CWE-79
Which versions are affected by CVE-2017-15284?
2 open source packages ship an affected version, including october/rain. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
october/rain Packagist | All versions | 1.0.426 |
october/rain Packagist | All versions | 1.0.426 |
Products include Octobercms October.
How do I fix CVE-2017-15284?
Upgrade october/rain to 1.0.426 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2017-15284 being exploited?
There is no known exploitation of CVE-2017-15284 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Octobercms October
Sources
Also known as GHSA-gvgf-fp4m-2hw6.