CVE-2020-7012 Code injection in Kibana

High 8.8 Published Updated

An authenticated attacker with write privileges can exploit prototype pollution in the Upgrade Assistant to execute arbitrary code on the host system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-7012?

CVE-2020-7012 is a high-severity code injection vulnerability in Elastic Kibana, published on 3 Jun 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Kibana versions 6.7.0 to 6.8.8 and 7.0.0 to 7.6.2 contain a prototype pollution flaw in the Upgrade Assistant. An authenticated attacker with privileges to write to the Kibana index could insert data that would cause Kibana to execute arbitrary code. This could possibly lead to an attacker executing code with the permissions of the Kibana process on the host system.

Weakness: CWE-94

Which versions are affected by CVE-2020-7012?

It affects 1 product.

Products include Elastic Kibana.

How do I fix CVE-2020-7012?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2020-7012 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-7012 exists.

Public exploit code: 1 Metasploit module.

All Elastic Kibana vulnerabilities

Sources

Also known as GHSA-xrx6-ghw2-jgjm.

Is CVE-2020-7012 in your software?

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

Check your SBOMs for free