CVE-2023-31414 Code injection in Kibana

High 8.2 Published Updated

An attacker with write access to Kibana configuration files can inject JavaScript to execute arbitrary commands on the host system.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-31414?

CVE-2023-31414 is a high-severity code injection vulnerability in Elastic Kibana, published on 4 May 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Kibana versions 8.0.0 through 8.7.0 contain an arbitrary code execution flaw. An attacker with write access to Kibana yaml or env configuration could add a specific payload that will attempt to execute JavaScript code. This could lead to the attacker executing arbitrary commands on the host system with permissions of the Kibana process.

Weakness: CWE-94

Which versions are affected by CVE-2023-31414?

It affects 1 product.

Products include Elastic Kibana.

How do I fix CVE-2023-31414?

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

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

All Elastic Kibana vulnerabilities

Sources

Also known as GHSA-2gwg-52c6-q2hx.

Is CVE-2023-31414 in your software?

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

Check your SBOMs for free