CVE-2014-6439 Cross-site scripting in Elasticsearch
Remote attackers can inject arbitrary web script or HTML via the CORS functionality in Elasticsearch, potentially compromising user sessions or data.
- 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
- Available
What is CVE-2014-6439?
CVE-2014-6439 is a medium-severity cross-site scripting vulnerability in n/a, published on 10 Oct 2014. 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
Cross-site scripting (XSS) vulnerability in the CORS functionality in Elasticsearch before 1.4.0.Beta1 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
Weakness: CWE-79
Which versions are affected by CVE-2014-6439?
2 open source packages ship an affected version, including org.elasticsearch:elasticsearch. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.elasticsearch:elasticsearch Maven | All versions | 1.4.0.Beta1 |
org.elasticsearch:elasticsearch Maven | All versions | 1.4.0.Beta1 |
Products include Elasticsearch Elasticsearch.
How do I fix CVE-2014-6439?
Upgrade org.elasticsearch:elasticsearch to 1.4.0.Beta1 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-2014-6439 being exploited?
There is no known exploitation of CVE-2014-6439 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8699-m855-cwqf, UBUNTU-CVE-2014-6439.