CVE-2020-13151
Last modified
CVE-2020-13151 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 86.75% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Aerospike | Aerospike Server | < 4.5.3.21 |
| Aerospike | Aerospike Server | >= 4.6.0.1, < 4.6.0.19 |
| Aerospike | Aerospike Server | >= 4.7.0.1, < 4.7.0.17 |
| Aerospike | Aerospike Server | >= 4.8.0.1, < 4.8.0.13 |
| Aerospike | Aerospike Server | >= 4.9.0.1, < 4.9.0.10 |
| Aerospike | Aerospike Server | >= 5.0.0.1, < 5.0.0.7 |
References
- http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.htmlExploit, Third Party Advisory
- https://www.aerospike.com/download/server/notes.html#5.1.0.3Release Notes, Vendor Advisory
- https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3Release Notes, Vendor Advisory
- http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.htmlExploit, Third Party Advisory
- https://www.aerospike.com/download/server/notes.html#5.1.0.3Release Notes, Vendor Advisory
- https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3Release Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-13151?
How severe is CVE-2020-13151?
How do I fix CVE-2020-13151?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-13144Studio in Open edX Ironwood 2.5, when CodeJail is not used, …8.8
- CVE-2020-13145Studio in Open edX Ironwood 2.5 allows users to upload SVG f…5.4
- CVE-2020-13146Studio in Open edX Ironwood 2.5 allows CSV injection because…8.8
- CVE-2020-13149Weak permissions on the "%PROGRAMDATA%\MSI\Dragon Center" fo…7.8
- CVE-2020-1315An information disclosure vulnerability exists when Internet…5.3
- CVE-2020-13150D-link DSL-2750U ISL2750UEME3.V1E devices allow approximatel…7.8
- CVE-2020-13152A remote user can create a specially crafted M3U file, media…5.5
- CVE-2020-13153app/View/Events/resolved_attributes.ctp in MISP before 2.4.1…6.1
- CVE-2020-13154Zoho ManageEngine Service Plus before 11.1 build 11112 allow…6.5
- CVE-2020-13155clearsystem.php in NukeViet 4.4 allows CSRF with resultant H…8.8
- CVE-2020-13156modules\users\admin\add_user.php in NukeViet 4.4 allows CSRF…6.5
- CVE-2020-13157modules\users\admin\edit.php in NukeViet 4.4 allows CSRF to …6.5
Are you affected by CVE-2020-13151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
