CVE-2017-15284 OctoberCMS Cross-Site Scripting

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
october/rain PackagistAll versions1.0.426
october/rain PackagistAll versions1.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.

All Octobercms October vulnerabilities

Sources

Also known as GHSA-gvgf-fp4m-2hw6.

Is CVE-2017-15284 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free