Vulnerability CVE-2020-13151


Published: 2020-08-05

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.

See advisories in our WLB2 database:
Topic
Author
Date
High
Aerospike Database 5.1.0.3 Remote Command Execution
Matt S
18.11.2020
High
Aerospike Database UDF Lua Code Execution
Brendan Coles
14.12.2020

Type:

CWE-78

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

CVSS2 => (AV:N/AC:L/Au:N/C:C/I:C/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
10/10
10/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Complete
Complete
Complete
Affected software
Aerospike -> Aerospike server 

 References:
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

Copyright 2024, cxsecurity.com

 

Back to Top