gsd-2023-22893
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login provider is used for authentication. A remote attacker could forge an ID token that is signed using the 'None' type algorithm to bypass authentication and impersonate any user that use AWS Cognito for authentication.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2023-22893",
    "id": "GSD-2023-22893"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2023-22893"
      ],
      "details": "Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login provider is used for authentication. A remote attacker could forge an ID token that is signed using the \u0027None\u0027 type algorithm to bypass authentication and impersonate any user that use AWS Cognito for authentication.",
      "id": "GSD-2023-22893",
      "modified": "2023-12-13T01:20:43.310146Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2023-22893",
        "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": "Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login provider is used for authentication. A remote attacker could forge an ID token that is signed using the \u0027None\u0027 type algorithm to bypass authentication and impersonate any user that use AWS Cognito for authentication."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/strapi/strapi/releases",
            "refsource": "MISC",
            "url": "https://github.com/strapi/strapi/releases"
          },
          {
            "name": "https://www.ghostccamm.com/blog/multi_strapi_vulns/",
            "refsource": "MISC",
            "url": "https://www.ghostccamm.com/blog/multi_strapi_vulns/"
          },
          {
            "name": "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve",
            "refsource": "MISC",
            "url": "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=3.2.1 \u003c4.6.0",
          "affected_versions": "All versions starting from 3.2.1 before 4.6.0",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-04-24",
          "description": "Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login provider is used for authentication. A remote attacker could forge an ID token that is signed using the \u0027None\u0027 type algorithm to bypass authentication and impersonate any user that use AWS Cognito for authentication.",
          "fixed_versions": [
            "4.6.0"
          ],
          "identifier": "CVE-2023-22893",
          "identifiers": [
            "GHSA-583x-23h9-f5w7",
            "CVE-2023-22893"
          ],
          "not_impacted": "All versions before 3.2.1, all versions starting from 4.6.0",
          "package_slug": "npm/@strapi/plugin-users-permissions",
          "pubdate": "2023-04-19",
          "solution": "Upgrade to version 4.6.0 or above.",
          "title": "Strapi does not verify the access or ID tokens issued during the OAuth flow",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2023-22893",
            "https://github.com/strapi/strapi/releases",
            "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve",
            "https://www.ghostccamm.com/blog/multi_strapi_vulns/",
            "https://github.com/strapi/strapi/commit/46f8f98378338f18b5c6139d0157a8f71bf4de83",
            "https://github.com/strapi/strapi/commit/8bbbd7383a20bb7cb163c8b462baffee559e994f",
            "https://github.com/strapi/strapi/commit/eeab43b57707d7ef275076d27be6eabc72bd71a7",
            "https://github.com/strapi/strapi/blob/v4.5.6/packages/plugins/users-permissions/server/services/providers-registry.js",
            "https://github.com/advisories/GHSA-583x-23h9-f5w7"
          ],
          "uuid": "7642b0a1-6579-4d3d-bce4-3c217217ac90"
        },
        {
          "affected_range": "\u003e=3.0.0 \u003c4.6.0",
          "affected_versions": "All versions starting from 3.0.0 before 4.6.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-287",
            "CWE-937"
          ],
          "date": "2023-05-01",
          "description": "Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login provider is used for authentication. A remote attacker could forge an ID token that is signed using the \u0027None\u0027 type algorithm to bypass authentication and impersonate any user that use AWS Cognito for authentication.",
          "fixed_versions": [],
          "identifier": "CVE-2023-22893",
          "identifiers": [
            "CVE-2023-22893"
          ],
          "not_impacted": "",
          "package_slug": "npm/strapi",
          "pubdate": "2023-04-19",
          "solution": "Unfortunately, there is no solution available yet.",
          "title": "Improper Authentication",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2023-22893",
            "https://www.ghostccamm.com/blog/multi_strapi_vulns/",
            "https://github.com/strapi/strapi/releases",
            "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve"
          ],
          "uuid": "0c3e5020-f21b-4e07-9c5c-477a08884c4b"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "4.6.0",
                "versionStartIncluding": "3.0.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2023-22893"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login provider is used for authentication. A remote attacker could forge an ID token that is signed using the \u0027None\u0027 type algorithm to bypass authentication and impersonate any user that use AWS Cognito for authentication."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-287"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://www.ghostccamm.com/blog/multi_strapi_vulns/",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://www.ghostccamm.com/blog/multi_strapi_vulns/"
            },
            {
              "name": "https://github.com/strapi/strapi/releases",
              "refsource": "MISC",
              "tags": [
                "Release Notes"
              ],
              "url": "https://github.com/strapi/strapi/releases"
            },
            {
              "name": "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Vendor Advisory"
              ],
              "url": "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-05-01T18:10Z",
      "publishedDate": "2023-04-19T16: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.