module

Aerospike Database UDF Lua Code Execution

Disclosed
2020-07-31
Created
2020-12-10

Description

Aerospike Database versions before 5.1.0.3 permitted
user-defined functions (UDF) to call the `os.execute`
Lua function.

This module creates a UDF utilising this function to
execute arbitrary operating system commands with the
privileges of the user running the Aerospike service.

This module does not support authentication; however
Aerospike Database Community Edition does not enable
authentication by default.

This module has been tested successfully on Ubuntu
with Aerospike Database Community Edition versions
4.9.0.5, 4.9.0.11 and 5.0.0.10.

Authors

b4ny4n
bcoles bcoles@gmail.com

Platform

Linux,Unix

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/misc/aerospike_database_udf_cmd_exec
msf exploit(aerospike_database_udf_cmd_exec) > show targets
...targets...
msf exploit(aerospike_database_udf_cmd_exec) > set TARGET < target-id >
msf exploit(aerospike_database_udf_cmd_exec) > show options
...show and set options...
msf exploit(aerospike_database_udf_cmd_exec) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.