跳到正文

Aerospike Database < 5.1.0.3 Host头命令注入漏洞

严重 未验证 漏洞情报POC 公开

漏洞描述

Aerospike是美国Aerospike公司的一套NoSQL数据库解决方案。 Aerospike(社区版)4.9.0.5版本中存在安全漏洞。Aerospike Community Edition 4.9.0.5允许未经身份验证的提交和执行以Lua编写的用户定义函数(UDF),作为数据库查询的一部分。它试图通过禁用os.execute()调用来限制代码执行,但这还不够。具有网络访问权限的任何人都可以使用精心制作的UDF在运行Aerospike服务的用户权限级别上在集群的所有节点上执行任意OS命令。

解决建议

升级至5.1.0.3及之后的版本。

参考链接

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