Skip to content

CVE-2020-13151 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 exec...

CriticalCVSS 9.8 EPSS 86.5% Framework module Public exploit
Published
Updated
Exploit status
Public exploit available

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.

Affected products

ProductAffected versionsFixed in
aerospike server < 4.5.3.21 4.5.3.21
aerospike server >= 4.6.0.1, < 4.6.0.19 4.6.0.19
aerospike server >= 4.7.0.1, < 4.7.0.17 4.7.0.17
aerospike server >= 4.8.0.1, < 4.8.0.13 4.8.0.13
aerospike server >= 4.9.0.1, < 4.9.0.10 4.9.0.10
aerospike server >= 5.0.0.1, < 5.0.0.7 5.0.0.7

References