{ "schema_version": "1.4.0", "id": "GHSA-x797-g6hx-fpf9", "modified": "2023-01-28T03:30:28Z", "published": "2022-05-24T17:24:57Z", "aliases": [ "CVE-2020-13151" ], "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-13151" }, { "type": "WEB", "url": "https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html" }, { "type": "WEB", "url": "https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles" }, { "type": "WEB", "url": "https://www.aerospike.com/download/server/notes.html#5.1.0.3" }, { "type": "WEB", "url": "https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3" }, { "type": "WEB", "url": "http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html" }, { "type": "WEB", "url": "http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html" } ], "database_specific": { "cwe_ids": [ "CWE-78" ], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2020-08-05T13:15:00Z" } }