CVE-2020-13151
Severity CVSS v4.0:
Pending analysis
Type:
CWE-78
OS Command Injections
Publication date:
05/08/2020
Last modified:
28/01/2023
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.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Base Score 2.0
10.00
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:* | 4.5.3.21 (excluding) | |
| cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:* | 4.6.0.1 (including) | 4.6.0.19 (excluding) |
| cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:* | 4.7.0.1 (including) | 4.7.0.17 (excluding) |
| cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:* | 4.8.0.1 (including) | 4.8.0.13 (excluding) |
| cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:* | 4.9.0.1 (including) | 4.9.0.10 (excluding) |
| cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:* | 5.0.0.1 (including) | 5.0.0.7 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html
- http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html
- https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html
- https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles
- https://www.aerospike.com/download/server/notes.html#5.1.0.3
- https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3



