CVE-2022-30617
Vulnerability from cvelistv5
Published
2022-05-19 17:07
Modified
2024-08-03 06:56
Severity ?
Summary
An authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and password reset tokens, for other admin panel users that have a relationship (e.g., created by, updated by) with content accessible to the authenticated user. For example, a low-privileged “author” role account can view these details in the JSON response for an “editor” or “super admin” that has updated one of the author’s blog posts. There are also many other scenarios where such details from other users can leak in the JSON response, either through a direct or indirect relationship. Access to this information enables a user to compromise other users’ accounts by successfully invoking the password reset workflow. In a worst-case scenario, a low-privileged user could get access to a “super admin” account with full control over the Strapi instance, and could read and modify any data as well as block access to both the admin panel and API by revoking privileges for all other users.
Impacted products
StrapiStrapi
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T06:56:12.964Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://www.synopsys.com/blogs/software-security/cyrc-advisory-strapi"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "Strapi",
          "vendor": "Strapi",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 3.6.9"
            },
            {
              "status": "affected",
              "version": "! 4.0.0"
            },
            {
              "status": "affected",
              "version": "\u003c 4.0.0-beta.16"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "An authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and password reset tokens, for other admin panel users that have a relationship (e.g., created by, updated by) with content accessible to the authenticated user. For example, a low-privileged \u201cauthor\u201d role account can view these details in the JSON response for an \u201ceditor\u201d or \u201csuper admin\u201d that has updated one of the author\u2019s blog posts. There are also many other scenarios where such details from other users can leak in the JSON response, either through a direct or indirect relationship. Access to this information enables a user to compromise other users\u2019 accounts by successfully invoking the password reset workflow. In a worst-case scenario, a low-privileged user could get access to a \u201csuper admin\u201d account with full control over the Strapi instance, and could read and modify any data as well as block access to both the admin panel and API by revoking privileges for all other users."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-212",
              "description": "CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2022-05-19T17:07:36",
        "orgId": "8cad7728-009c-4a3d-a95e-ca62e6ff8a0b",
        "shortName": "SNPS"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://www.synopsys.com/blogs/software-security/cyrc-advisory-strapi"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "disclosure@synopsys.com",
          "ID": "CVE-2022-30617",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "Strapi",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "\u003c 3.6.9"
                          },
                          {
                            "version_value": "! 4.0.0"
                          },
                          {
                            "version_value": "\u003c 4.0.0-beta.16"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "Strapi"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "An authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and password reset tokens, for other admin panel users that have a relationship (e.g., created by, updated by) with content accessible to the authenticated user. For example, a low-privileged \u201cauthor\u201d role account can view these details in the JSON response for an \u201ceditor\u201d or \u201csuper admin\u201d that has updated one of the author\u2019s blog posts. There are also many other scenarios where such details from other users can leak in the JSON response, either through a direct or indirect relationship. Access to this information enables a user to compromise other users\u2019 accounts by successfully invoking the password reset workflow. In a worst-case scenario, a low-privileged user could get access to a \u201csuper admin\u201d account with full control over the Strapi instance, and could read and modify any data as well as block access to both the admin panel and API by revoking privileges for all other users."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://www.synopsys.com/blogs/software-security/cyrc-advisory-strapi",
              "refsource": "MISC",
              "url": "https://www.synopsys.com/blogs/software-security/cyrc-advisory-strapi"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8cad7728-009c-4a3d-a95e-ca62e6ff8a0b",
    "assignerShortName": "SNPS",
    "cveId": "CVE-2022-30617",
    "datePublished": "2022-05-19T17:07:36",
    "dateReserved": "2022-05-12T00:00:00",
    "dateUpdated": "2024-08-03T06:56:12.964Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-30617\",\"sourceIdentifier\":\"disclosure@synopsys.com\",\"published\":\"2022-05-19T18:15:09.587\",\"lastModified\":\"2022-06-06T15:51:39.770\",\"vulnStatus\":\"Analyzed\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"An authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and password reset tokens, for other admin panel users that have a relationship (e.g., created by, updated by) with content accessible to the authenticated user. For example, a low-privileged \u201cauthor\u201d role account can view these details in the JSON response for an \u201ceditor\u201d or \u201csuper admin\u201d that has updated one of the author\u2019s blog posts. There are also many other scenarios where such details from other users can leak in the JSON response, either through a direct or indirect relationship. Access to this information enables a user to compromise other users\u2019 accounts by successfully invoking the password reset workflow. In a worst-case scenario, a low-privileged user could get access to a \u201csuper admin\u201d account with full control over the Strapi instance, and could read and modify any data as well as block access to both the admin panel and API by revoking privileges for all other users.\"},{\"lang\":\"es\",\"value\":\"Un usuario autenticado con acceso al panel de administraci\u00f3n de Strapi puede visualizar datos privados y confidenciales, como el correo electr\u00f3nico y los tokens de restablecimiento de contrase\u00f1a, para otros usuarios del panel de administraci\u00f3n que tengan una relaci\u00f3n (por ejemplo, creado por, actualizado por) con el contenido accesible para el usuario autenticado. Por ejemplo, una cuenta de rol \\\"author\\\" con pocos privilegios puede visualizar estos detalles en la respuesta JSON para un \\\"editor\\\" o \\\"super admin\\\" que haya actualizado una de las entradas del blog del autor. Tambi\u00e9n se presentan muchos otros escenarios donde estos detalles de otros usuarios pueden filtrarse en la respuesta JSON, ya sea mediante una relaci\u00f3n directa o indirecta. El acceso a esta informaci\u00f3n permite a un usuario comprometer las cuentas de otros usuarios al invocar con \u00e9xito el flujo de trabajo de restablecimiento de contrase\u00f1a. En el peor de los casos, un usuario con pocos privilegios podr\u00eda acceder a una cuenta \\\"super admin\\\" con control total sobre la instancia de Strapi, y podr\u00eda leer y modificar cualquier dato, as\u00ed como bloquear el acceso tanto al panel de administraci\u00f3n como a la API al revocar los privilegios de todos los dem\u00e1s usuarios\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:S/C:C/I:C/A:C\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"SINGLE\",\"confidentialityImpact\":\"COMPLETE\",\"integrityImpact\":\"COMPLETE\",\"availabilityImpact\":\"COMPLETE\",\"baseScore\":9.0},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":8.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-212\"}]},{\"source\":\"disclosure@synopsys.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-212\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.0.0\",\"versionEndExcluding\":\"3.6.10\",\"matchCriteriaId\":\"02E592C9-FFDC-4DB5-BF02-205DB10A18A9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta10:*:*:*:*:*:*\",\"matchCriteriaId\":\"F07DC62A-C081-4756-9A1E-75F15337AA84\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta11:*:*:*:*:*:*\",\"matchCriteriaId\":\"6D660640-90B4-4886-8FB6-02DACBA84F28\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta12:*:*:*:*:*:*\",\"matchCriteriaId\":\"4ED75EB0-04B7-45AE-AF84-481952E39FEE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta13:*:*:*:*:*:*\",\"matchCriteriaId\":\"52107FB6-C01A-4520-9866-6096AB3416D7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta14:*:*:*:*:*:*\",\"matchCriteriaId\":\"0DA682BE-2EF2-4955-862C-B96ABC744068\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta15:*:*:*:*:*:*\",\"matchCriteriaId\":\"5D099441-B442-41C8-A0BC-B86B34905F3B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta2:*:*:*:*:*:*\",\"matchCriteriaId\":\"223136B2-C973-4BD5-A45E-4355C48556A9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta3:*:*:*:*:*:*\",\"matchCriteriaId\":\"F8959628-F59A-4996-AE23-4F39A2EA42A5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta4:*:*:*:*:*:*\",\"matchCriteriaId\":\"5CFBF81E-1CA3-4501-AE23-A048FE18931C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta5:*:*:*:*:*:*\",\"matchCriteriaId\":\"544C7DA4-0D25-49A7-AD63-38AF11EDF755\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta6:*:*:*:*:*:*\",\"matchCriteriaId\":\"2A1F7462-6676-46A7-8B46-1A67337AF713\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta7:*:*:*:*:*:*\",\"matchCriteriaId\":\"CF8DCA9B-47BA-4975-B4D2-C22C8BDCC8B6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta8:*:*:*:*:*:*\",\"matchCriteriaId\":\"E92B7FFE-41DF-4EF5-8484-4E7B4BD1DFA3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:strapi:strapi:4.0.0:beta9:*:*:*:*:*:*\",\"matchCriteriaId\":\"AB237119-741F-4000-8A9A-C12FB4FDA1AD\"}]}]}],\"references\":[{\"url\":\"https://www.synopsys.com/blogs/software-security/cyrc-advisory-strapi\",\"source\":\"disclosure@synopsys.com\",\"tags\":[\"Third Party Advisory\"]}]}}"
  }
}


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.