CVE-2020-13151 Command injection in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary OS commands on Aerospike database nodes via crafted Lua UDFs, leading to full system compromise.

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

What is CVE-2020-13151?

CVE-2020-13151 is a critical command injection vulnerability in n/a, published on 5 Aug 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Aerospike Community Edition 4.9.0.5 allows for unauthenticated submission and execution of user-defined functions (UDFs), written in Lua, as part of a database query. It attempts to restrict code execution by disabling os.execute() calls, but this is insufficient. Anyone with network access can use a crafted UDF to execute arbitrary OS commands on all nodes of the cluster at the permission level of the user running the Aerospike service.

Weakness: CWE-78

Which versions are affected by CVE-2020-13151?

It affects 1 product.

Products include Aerospike Aerospike Server.

How do I fix CVE-2020-13151?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-13151 being exploited?

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

Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-x797-g6hx-fpf9.

Is CVE-2020-13151 in your software?

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

Check your SBOMs for free