CVE-2020-13151 (GCVE-0-2020-13151)
Vulnerability from cvelistv5
Published
2020-08-05 12:36
      Modified
2024-08-04 12:11
      
          Severity ?
        
        
          VLAI Severity ?
        
        
          EPSS score ?
        
        CWE
          - n/a
 
Summary
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.
            
          
        References
          {
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T12:11:19.091Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://www.aerospike.com/download/server/notes.html#5.1.0.3"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2020-12-11T19:06:10",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://www.aerospike.com/download/server/notes.html#5.1.0.3"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2020-13151",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles",
              "refsource": "MISC",
              "url": "https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles"
            },
            {
              "name": "https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html",
              "refsource": "MISC",
              "url": "https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html"
            },
            {
              "name": "https://www.aerospike.com/download/server/notes.html#5.1.0.3",
              "refsource": "MISC",
              "url": "https://www.aerospike.com/download/server/notes.html#5.1.0.3"
            },
            {
              "name": "https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3",
              "refsource": "MISC",
              "url": "https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3"
            },
            {
              "name": "http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html",
              "refsource": "MISC",
              "url": "http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html"
            },
            {
              "name": "http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html",
              "refsource": "MISC",
              "url": "http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2020-13151",
    "datePublished": "2020-08-05T12:36:39",
    "dateReserved": "2020-05-18T00:00:00",
    "dateUpdated": "2024-08-04T12:11:19.091Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2020-13151\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2020-08-05T13:15:10.603\",\"lastModified\":\"2024-11-21T05:00:45.100\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"Aerospike Community Edition versi\u00f3n 4.9.0.5, permite el env\u00edo y la ejecuci\u00f3n no autenticada de funciones definidas por el usuario (UDF), escritas en Lua, como parte de una consulta de base de datos. Intenta restringir la ejecuci\u00f3n del c\u00f3digo al deshabilitar las llamadas a la funci\u00f3n os.execute(), pero esto es insuficiente. Cualquier persona con acceso a la red puede utilizar una UDF dise\u00f1ada para ejecutar comandos arbitrarios de Sistema Operativo en todos los nodos del cl\u00faster en el nivel de permiso del usuario que ejecuta el servicio de Aerospike\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:C/I:C/A:C\",\"baseScore\":10.0,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"COMPLETE\",\"integrityImpact\":\"COMPLETE\",\"availabilityImpact\":\"COMPLETE\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":10.0,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-78\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*\",\"versionEndExcluding\":\"4.5.3.21\",\"matchCriteriaId\":\"DDD39672-A99B-418B-B1F0-D4A7140B6B87\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*\",\"versionStartIncluding\":\"4.6.0.1\",\"versionEndExcluding\":\"4.6.0.19\",\"matchCriteriaId\":\"318A7CDD-9791-45CC-9F17-24A81D48D6C5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*\",\"versionStartIncluding\":\"4.7.0.1\",\"versionEndExcluding\":\"4.7.0.17\",\"matchCriteriaId\":\"AD4254DC-DD44-468D-A71C-ACD54AA33F32\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*\",\"versionStartIncluding\":\"4.8.0.1\",\"versionEndExcluding\":\"4.8.0.13\",\"matchCriteriaId\":\"A90BBE74-9DC4-4AA4-97F8-6FCC227F733D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*\",\"versionStartIncluding\":\"4.9.0.1\",\"versionEndExcluding\":\"4.9.0.10\",\"matchCriteriaId\":\"C23279C2-82B4-4614-8FDC-EFDC6D9E3637\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*\",\"versionStartIncluding\":\"5.0.0.1\",\"versionEndExcluding\":\"5.0.0.7\",\"matchCriteriaId\":\"CD99C634-6C21-4CC0-99B9-71F122789F33\"}]}]}],\"references\":[{\"url\":\"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]},{\"url\":\"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Vendor Advisory\"]},{\"url\":\"https://www.aerospike.com/download/server/notes.html#5.1.0.3\",\"source\":\"cve@mitre.org\",\"tags\":[\"Release Notes\",\"Vendor Advisory\"]},{\"url\":\"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3\",\"source\":\"cve@mitre.org\",\"tags\":[\"Release Notes\",\"Vendor Advisory\"]},{\"url\":\"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]},{\"url\":\"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Vendor Advisory\"]},{\"url\":\"https://www.aerospike.com/download/server/notes.html#5.1.0.3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Release Notes\",\"Vendor Advisory\"]},{\"url\":\"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Release Notes\",\"Vendor Advisory\"]}]}}"
  }
}
  Loading…
      Loading…
      Sightings
| Author | Source | Type | Date | 
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
 - Confirmed: The vulnerability is confirmed from an analyst perspective.
 - Published Proof of Concept: A public proof of concept is available for this vulnerability.
 - Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
 - Patched: This vulnerability was successfully patched by the user reporting the sighting.
 - Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
 - Not confirmed: The user expresses doubt about the veracity of the vulnerability.
 - Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
 
Loading…
      Loading…