gsd-2023-32680
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
Metabase is an open source business analytics engine. To edit SQL Snippets, Metabase should have required people to be in at least one group with native query editing permissions to a database–but affected versions of Metabase didn't enforce that requirement. This lack of enforcement meant that: Anyone–including people in sandboxed groups–could edit SQL snippets. They could edit snippets via the API or, in the application UI, when editing the metadata for a model based on a SQL question, and people in sandboxed groups could edit a SQL snippet used in a query that creates their sandbox. If the snippet contained logic that restricted which data that person could see, they could potentially edit that snippet and change their level of data access. The permissions model for SQL snippets has been fixed in Metabase versions 0.46.3, 0.45.4, 0.44.7, 1.46.3, 1.45.4, and 1.44.7. Users are advised to upgrade. Users unable to upgrade should ensure that SQL queries used to create sandboxes exclude SQL snippets.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2023-32680",
    "id": "GSD-2023-32680"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2023-32680"
      ],
      "details": "Metabase is an open source business analytics engine. To edit SQL Snippets, Metabase should have required people to be in at least one group with native query editing permissions to a database\u2013but affected versions of Metabase didn\u0027t enforce that requirement. This lack of enforcement meant that: Anyone\u2013including people in sandboxed groups\u2013could edit SQL snippets. They could edit snippets via the API or, in the application UI, when editing the metadata for a model based on a SQL question, and people in sandboxed groups could edit a SQL snippet used in a query that creates their sandbox. If the snippet contained logic that restricted which data that person could see, they could potentially edit that snippet and change their level of data access. The permissions model for SQL snippets has been fixed in Metabase versions 0.46.3, 0.45.4, 0.44.7, 1.46.3, 1.45.4, and 1.44.7. Users are advised to upgrade. Users unable to upgrade should ensure that SQL queries used to create sandboxes exclude SQL snippets.",
      "id": "GSD-2023-32680",
      "modified": "2023-12-13T01:20:23.635673Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2023-32680",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "metabase",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "\u003c 0.44.7"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 1.0.0, \u003c 1.44.7"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 0.45.0, \u003c 0.45.4"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 1.0.0, \u003c 1.45.4"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 0.46.0, \u003c 0.46.3"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 1.0.0, \u003c 1.46.3"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "metabase"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Metabase is an open source business analytics engine. To edit SQL Snippets, Metabase should have required people to be in at least one group with native query editing permissions to a database\u2013but affected versions of Metabase didn\u0027t enforce that requirement. This lack of enforcement meant that: Anyone\u2013including people in sandboxed groups\u2013could edit SQL snippets. They could edit snippets via the API or, in the application UI, when editing the metadata for a model based on a SQL question, and people in sandboxed groups could edit a SQL snippet used in a query that creates their sandbox. If the snippet contained logic that restricted which data that person could see, they could potentially edit that snippet and change their level of data access. The permissions model for SQL snippets has been fixed in Metabase versions 0.46.3, 0.45.4, 0.44.7, 1.46.3, 1.45.4, and 1.44.7. Users are advised to upgrade. Users unable to upgrade should ensure that SQL queries used to create sandboxes exclude SQL snippets."
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N",
            "version": "3.1"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-306",
                "lang": "eng",
                "value": "CWE-306: Missing Authentication for Critical Function"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv",
            "refsource": "MISC",
            "url": "https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv"
          },
          {
            "name": "https://github.com/metabase/metabase/pull/30852",
            "refsource": "MISC",
            "url": "https://github.com/metabase/metabase/pull/30852"
          },
          {
            "name": "https://github.com/metabase/metabase/pull/30853",
            "refsource": "MISC",
            "url": "https://github.com/metabase/metabase/pull/30853"
          },
          {
            "name": "https://github.com/metabase/metabase/pull/30854",
            "refsource": "MISC",
            "url": "https://github.com/metabase/metabase/pull/30854"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-mw6j-f894-4qxv",
        "discovery": "UNKNOWN"
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.46.3",
                "versionStartIncluding": "1.46.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.45.4",
                "versionStartIncluding": "1.45.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.44.7",
                "versionStartIncluding": "1.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "0.44.7",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "0.46.3",
                "versionStartIncluding": "0.46.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "0.45.4",
                "versionStartIncluding": "0.45.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2023-32680"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Metabase is an open source business analytics engine. To edit SQL Snippets, Metabase should have required people to be in at least one group with native query editing permissions to a database\u2013but affected versions of Metabase didn\u0027t enforce that requirement. This lack of enforcement meant that: Anyone\u2013including people in sandboxed groups\u2013could edit SQL snippets. They could edit snippets via the API or, in the application UI, when editing the metadata for a model based on a SQL question, and people in sandboxed groups could edit a SQL snippet used in a query that creates their sandbox. If the snippet contained logic that restricted which data that person could see, they could potentially edit that snippet and change their level of data access. The permissions model for SQL snippets has been fixed in Metabase versions 0.46.3, 0.45.4, 0.44.7, 1.46.3, 1.45.4, and 1.44.7. Users are advised to upgrade. Users unable to upgrade should ensure that SQL queries used to create sandboxes exclude SQL snippets."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-306"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/metabase/metabase/pull/30852",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/metabase/metabase/pull/30852"
            },
            {
              "name": "https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv"
            },
            {
              "name": "https://github.com/metabase/metabase/pull/30853",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/metabase/metabase/pull/30853"
            },
            {
              "name": "https://github.com/metabase/metabase/pull/30854",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/metabase/metabase/pull/30854"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 9.6,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 3.1,
          "impactScore": 5.8
        }
      },
      "lastModifiedDate": "2023-05-26T02:12Z",
      "publishedDate": "2023-05-18T23:15Z"
    }
  }
}


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.
  • 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.