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 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*
cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*
cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*
cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*
cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*
cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*

History

21 Nov 2024, 05:00

Type Values Removed Values Added
References () http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html - Exploit, Third Party Advisory, VDB Entry () http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html - Exploit, Third Party Advisory, VDB Entry
References () http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html - Exploit, Third Party Advisory, VDB Entry () http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html - Exploit, Third Party Advisory, VDB Entry
References () https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html - Exploit, Third Party Advisory () https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html - Exploit, Third Party Advisory
References () https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles - Exploit, Vendor Advisory () https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles - Exploit, Vendor Advisory
References () https://www.aerospike.com/download/server/notes.html#5.1.0.3 - Release Notes, Vendor Advisory () https://www.aerospike.com/download/server/notes.html#5.1.0.3 - Release Notes, Vendor Advisory
References () https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3 - Release Notes, Vendor Advisory () https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3 - Release Notes, Vendor Advisory

Information

Published : 2020-08-05 13:15

Updated : 2024-11-21 05:00


NVD link : CVE-2020-13151

Mitre link : CVE-2020-13151

CVE.ORG link : CVE-2020-13151


JSON object : View

Products Affected

aerospike

  • aerospike_server
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')