gsd-2023-3128
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
Grafana is validating Azure AD accounts based on the email claim. On Azure AD, the profile email field is not unique and can be easily modified. This leads to account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2023-3128",
    "id": "GSD-2023-3128"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2023-3128"
      ],
      "details": "Grafana is validating Azure AD accounts based on the email claim. \n\nOn Azure AD, the profile email field is not unique and can be easily modified. \n\nThis leads to account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app. \n\n",
      "id": "GSD-2023-3128",
      "modified": "2023-12-13T01:20:54.776679Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@grafana.com",
        "ID": "CVE-2023-3128",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Grafana",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_name": "9.5.0",
                          "version_value": "9.5.4"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "9.4.0",
                          "version_value": "9.4.13"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "9.3.0",
                          "version_value": "9.3.16"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "9.2.0",
                          "version_value": "9.2.20"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "6.7.0",
                          "version_value": "8.5.27"
                        }
                      ]
                    }
                  },
                  {
                    "product_name": "Grafana Enterprise",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_name": "9.5.0",
                          "version_value": "9.5.4"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "9.4.0",
                          "version_value": "9.4.13"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "9.3.0",
                          "version_value": "9.3.16"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "9.2.0",
                          "version_value": "9.2.20"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "6.7.0",
                          "version_value": "8.5.27"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Grafana"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Grafana is validating Azure AD accounts based on the email claim. \n\nOn Azure AD, the profile email field is not unique and can be easily modified. \n\nThis leads to account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app. \n\n"
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.1.0-dev"
      },
      "impact": {
        "cvss": [
          {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 9.4,
            "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:L",
            "version": "3.1"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-290",
                "lang": "eng",
                "value": "CWE-290"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://grafana.com/security/security-advisories/cve-2023-3128/",
            "refsource": "MISC",
            "url": "https://grafana.com/security/security-advisories/cve-2023-3128/"
          },
          {
            "name": "https://github.com/grafana/bugbounty/security/advisories/GHSA-gxh2-6vvc-rrgp",
            "refsource": "MISC",
            "url": "https://github.com/grafana/bugbounty/security/advisories/GHSA-gxh2-6vvc-rrgp"
          },
          {
            "name": "https://security.netapp.com/advisory/ntap-20230714-0004/",
            "refsource": "MISC",
            "url": "https://security.netapp.com/advisory/ntap-20230714-0004/"
          }
        ]
      },
      "source": {
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c8.5.27||\u003e=9.0.0 \u003c9.2.20||\u003e=9.3.0 \u003c9.3.16||\u003e=9.4.0 \u003c9.4.13",
          "affected_versions": "All versions before 8.5.27, all versions starting from 9.0.0 before 9.2.20, all versions starting from 9.3.0 before 9.3.16, all versions starting from 9.4.0 before 9.4.13",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-290",
            "CWE-937"
          ],
          "date": "2023-07-19",
          "description": "Grafana is validating Azure AD accounts based on the email claim. \n\nOn Azure AD, the profile email field is not unique and can be easily modified. \n\nThis leads to account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app. \n\n",
          "fixed_versions": [
            "9.3.16",
            "9.4.13",
            "8.5.27",
            "9.2.20"
          ],
          "identifier": "CVE-2023-3128",
          "identifiers": [
            "GHSA-mpv3-g8m3-3fjc",
            "CVE-2023-3128"
          ],
          "not_impacted": "All versions starting from 8.5.27 before 9.0.0, all versions starting from 9.2.20 before 9.3.0, all versions starting from 9.3.16 before 9.4.0, all versions starting from 9.4.13",
          "package_slug": "go/github.com/grafana/grafana",
          "pubdate": "2023-06-22",
          "solution": "Upgrade to versions 9.3.16, 9.4.13, 8.5.27, 9.2.20 or above.",
          "title": "Authentication Bypass by Spoofing",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2023-3128",
            "https://grafana.com/security/security-advisories/cve-2023-3128/",
            "https://github.com/grafana/grafana/blob/69fc4e6bc0be2a82085ab3885c2262a4d49e97d8/CHANGELOG.md",
            "https://github.com/grafana/bugbounty/security/advisories/GHSA-gxh2-6vvc-rrgp",
            "https://security.netapp.com/advisory/ntap-20230714-0004/",
            "https://github.com/advisories/GHSA-mpv3-g8m3-3fjc"
          ],
          "uuid": "618ca222-f1df-4c4b-a762-7752ed429705"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "9.5.4",
                "versionStartIncluding": "9.5.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "9.4.13",
                "versionStartIncluding": "9.4.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "9.3.16",
                "versionStartIncluding": "9.3.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "9.2.20",
                "versionStartIncluding": "9.2.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "8.5.27",
                "versionStartIncluding": "6.7.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:-:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "8.5.27",
                "versionStartIncluding": "6.7.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "9.5.4",
                "versionStartIncluding": "9.5.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "9.4.13",
                "versionStartIncluding": "9.4.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "9.3.16",
                "versionStartIncluding": "9.3.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "9.2.20",
                "versionStartIncluding": "9.2.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@grafana.com",
          "ID": "CVE-2023-3128"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Grafana is validating Azure AD accounts based on the email claim. \n\nOn Azure AD, the profile email field is not unique and can be easily modified. \n\nThis leads to account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app. \n\n"
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-290"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://grafana.com/security/security-advisories/cve-2023-3128/",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://grafana.com/security/security-advisories/cve-2023-3128/"
            },
            {
              "name": "https://github.com/grafana/bugbounty/security/advisories/GHSA-gxh2-6vvc-rrgp",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://github.com/grafana/bugbounty/security/advisories/GHSA-gxh2-6vvc-rrgp"
            },
            {
              "name": "https://security.netapp.com/advisory/ntap-20230714-0004/",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://security.netapp.com/advisory/ntap-20230714-0004/"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "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
        }
      },
      "lastModifiedDate": "2023-07-21T19:19Z",
      "publishedDate": "2023-06-22T21:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

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