PT-2020-13356 · Aerospike · Aerospike Community Edition
Published
2020-08-05
·
Updated
2023-01-28
·
CVE-2020-13151
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Aerospike Community Edition version 4.9.0.5
Description
The issue allows for unauthenticated submission and execution of user-defined functions (UDFs), written in Lua, as part of a database query. Although it attempts to restrict code execution by disabling
os.execute() calls, this restriction is insufficient. As a result, 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.Recommendations
For Aerospike Community Edition version 4.9.0.5, consider disabling the execution of user-defined functions (UDFs) until a patch is available to prevent the execution of arbitrary OS commands. Restrict access to the database query functionality to minimize the risk of exploitation. Avoid using crafted UDFs in the affected database query endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Aerospike Community Edition