CVE-2018-3823 Cross-site scripting in Elasticsearch X-Pack Machine Learning

Medium 5.4 Published Updated

Attackers with ML management permissions can inject malicious scripts into job configurations to steal data or perform actions on behalf of other users.

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
None listed

What is CVE-2018-3823?

CVE-2018-3823 is a medium-severity cross-site scripting vulnerability in Elasticsearch X-Pack Machine Learning, published on 19 Sep 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

X-Pack Machine Learning versions before 6.2.4 and 5.6.9 had a cross-site scripting (XSS) vulnerability. Users with manage_ml permissions could create jobs containing malicious data as part of their configuration that could allow the attacker to obtain sensitive information from or perform destructive actions on behalf of other ML users viewing the results of the jobs.

Weakness: CWE-79

Which versions are affected by CVE-2018-3823?

It affects 3 products.

Products include Elastic Elasticsearch X-Pack, Elastic Kibana X-Pack, Elastic Logstash X-Pack.

How do I fix CVE-2018-3823?

No fix has been published for CVE-2018-3823 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-2018-3823 being exploited?

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

Sources

Also known as GHSA-4q33-p7w3-3rq8.

Is CVE-2018-3823 in your software?

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

Check your SBOMs for free