fkie_cve-2020-13151
Vulnerability from fkie_nvd
Published
2020-08-05 13:15
Modified
2024-11-21 05:00
Severity ?
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
cve@mitre.orghttp://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.htmlExploit, Third Party Advisory, VDB Entry
cve@mitre.orghttp://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
cve@mitre.orghttps://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.htmlExploit, Third Party Advisory
cve@mitre.orghttps://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-rolesExploit, Vendor Advisory
cve@mitre.orghttps://www.aerospike.com/download/server/notes.html#5.1.0.3Release Notes, Vendor Advisory
cve@mitre.orghttps://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3Release Notes, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.htmlExploit, Third Party Advisory, VDB Entry
af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
af854a3a-2127-422b-91ae-364da2661108https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.htmlExploit, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-rolesExploit, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://www.aerospike.com/download/server/notes.html#5.1.0.3Release Notes, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3Release Notes, Vendor Advisory



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*",
              "matchCriteriaId": "DDD39672-A99B-418B-B1F0-D4A7140B6B87",
              "versionEndExcluding": "4.5.3.21",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*",
              "matchCriteriaId": "318A7CDD-9791-45CC-9F17-24A81D48D6C5",
              "versionEndExcluding": "4.6.0.19",
              "versionStartIncluding": "4.6.0.1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*",
              "matchCriteriaId": "AD4254DC-DD44-468D-A71C-ACD54AA33F32",
              "versionEndExcluding": "4.7.0.17",
              "versionStartIncluding": "4.7.0.1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*",
              "matchCriteriaId": "A90BBE74-9DC4-4AA4-97F8-6FCC227F733D",
              "versionEndExcluding": "4.8.0.13",
              "versionStartIncluding": "4.8.0.1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*",
              "matchCriteriaId": "C23279C2-82B4-4614-8FDC-EFDC6D9E3637",
              "versionEndExcluding": "4.9.0.10",
              "versionStartIncluding": "4.9.0.1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*",
              "matchCriteriaId": "CD99C634-6C21-4CC0-99B9-71F122789F33",
              "versionEndExcluding": "5.0.0.7",
              "versionStartIncluding": "5.0.0.1",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "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"
    }
  ],
  "id": "CVE-2020-13151",
  "lastModified": "2024-11-21T05:00:45.100",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "COMPLETE",
          "baseScore": 10.0,
          "confidentialityImpact": "COMPLETE",
          "integrityImpact": "COMPLETE",
          "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 10.0,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ],
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 9.8,
          "baseSeverity": "CRITICAL",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 5.9,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2020-08-05T13:15:10.603",
  "references": [
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit",
        "Third Party Advisory",
        "VDB Entry"
      ],
      "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"
      ],
      "url": "https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit",
        "Vendor Advisory"
      ],
      "url": "https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Release Notes",
        "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": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Third Party Advisory",
        "VDB Entry"
      ],
      "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"
      ],
      "url": "https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit",
        "Vendor 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": [
        "Release Notes",
        "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"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-78"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

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…