CVE-2020-13151
CVE-2020-13151
Vexday Risk Score
62High priority
SSVC decision (CISA)
Attend
PoC available → attend closely
Exploit maturity
Functional exploit
Popular PoC on GitHub (41 stars) — exploitation code widely available.
CVSS —EPSS 86.7%KEV nãoPoC públicaNuclei —Metasploit simPatch —
Lifecycle
31 Jul 2020Metasploit module available
01 Aug 2020Public PoC
05 Aug 2020Published on NVD
Recommendation: Plan a near-term fix — a public PoC already exists.
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.
Affected products
n/a · n/apublic PoCs found — 5
githubgithub.com/b4ny4n/CVE-2020-13151★ 41githubgithub.com/ByteMe1001/CVE-2020-13151-POC-Aerospike-Server-Host-Command-Execution-RCE-★ 1cve_referencepacketstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.htmlunverifiedcve_referencepacketstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.htmlunverifiedexploitdbwww.exploit-db.com/exploits/49067unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.htmlhttp://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.htmlhttps://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.htmlhttps://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roleshttps://www.aerospike.com/download/server/notes.html#5.1.0.3https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3