CVE-2016-9459 Cross-site scripting in Nextcloud Server & ownCloud Server Nextcloud Server before 9.0.52 & ownCloud Server before 9.0.4

Medium 6.1 Published Updated

Attackers can inject malicious scripts into server logs, which execute in the victim's browser when viewing the log file via specific browser behaviors.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2016-9459?

CVE-2016-9459 is a medium-severity cross-site scripting vulnerability in Nextcloud Nextcloud Server, published on 28 Mar 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Nextcloud Server before 9.0.52 & ownCloud Server before 9.0.4 are vulnerable to a log pollution vulnerability potentially leading to a local XSS. The download log functionality in the admin screen is delivering the log in JSON format to the end-user. The file was delivered with an attachment disposition forcing the browser to download the document. However, Firefox running on Microsoft Windows would offer the user to open the data in the browser as an HTML document. Thus any injected data in the log would be executed.

Weakness: CWE-79, CWE-209

Which versions are affected by CVE-2016-9459?

It affects 2 products.

Products include Nextcloud Nextcloud Server, Owncloud Owncloud.

How do I fix CVE-2016-9459?

No fix has been published for CVE-2016-9459 yet. Limit exposure of the affected software until one is available.

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-2016-9459 being exploited?

There is no known exploitation of CVE-2016-9459 in the wild and no public exploit code.

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-hm6h-8cg9-xcv7.

Is CVE-2016-9459 in your software?

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

Check your SBOMs for free