GSD-2022-32171

Vulnerability from gsd - Updated: 2023-12-13 01:19
Details
In Zinc, versions v0.1.9 through v0.3.1 are vulnerable to Stored Cross-Site Scripting when using the delete user functionality. When an authenticated user deletes a user having a XSS payload in the user id field, the javascript payload will be executed and allow an attacker to access the user’s credentials.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2022-32171",
    "description": "In Zinc, versions v0.1.9 through v0.3.1 are vulnerable to Stored Cross-Site Scripting when using the delete user functionality. When an authenticated user deletes a user having a XSS payload in the user id field, the javascript payload will be executed and allow an attacker to access the user\u2019s credentials.",
    "id": "GSD-2022-32171"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-32171"
      ],
      "details": "In Zinc, versions v0.1.9 through v0.3.1 are vulnerable to Stored Cross-Site Scripting when using the delete user functionality. When an authenticated user deletes a user having a XSS payload in the user id field, the javascript payload will be executed and allow an attacker to access the user\u2019s credentials.",
      "id": "GSD-2022-32171",
      "modified": "2023-12-13T01:19:12.202986Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "vulnerabilitylab@whitesourcesoftware.com",
        "DATE_PUBLIC": "Sep 28, 2022, 12:00:00 AM",
        "ID": "CVE-2022-32171",
        "STATE": "PUBLIC",
        "TITLE": "Zinc - Stored XSS"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "zinc",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003e=",
                          "version_value": "v0.1.9"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "v0.3.1"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "zinc"
            }
          ]
        }
      },
      "credit": [
        {
          "lang": "eng",
          "value": "Mend Vulnerability Research Team (MVR)"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "In Zinc, versions v0.1.9 through v0.3.1 are vulnerable to Stored Cross-Site Scripting when using the delete user functionality. When an authenticated user deletes a user having a XSS payload in the user id field, the javascript payload will be executed and allow an attacker to access the user\u2019s credentials."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 5.4,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "privilegesRequired": "LOW",
          "scope": "CHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
          "version": 3.1
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d",
            "refsource": "MISC",
            "url": "https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d"
          },
          {
            "name": "https://www.mend.io/vulnerability-database/CVE-2022-32171",
            "refsource": "MISC",
            "url": "https://www.mend.io/vulnerability-database/CVE-2022-32171"
          }
        ]
      },
      "solution": [
        {
          "lang": "eng",
          "value": "Update version to v0.3.2 or later"
        }
      ],
      "source": {
        "advisory": "https://www.mend.io/vulnerability-database/",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=v0.1.9 \u003c=v0.3.1",
          "affected_versions": "All versions starting from 0.1.9 up to 0.3.1",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2022-11-07",
          "description": "In Zinc, versions v0.1.9 through v0.3.1 is vulnerable to Stored Cross-Site Scripting when using the delete user functionality. When an authenticated user deletes a user having a XSS payload in the user id field, the javascript payload will be executed and allow an attacker to access the user\u2019s credentials.",
          "fixed_versions": [],
          "identifier": "CVE-2022-32171",
          "identifiers": [
            "CVE-2022-32171"
          ],
          "not_impacted": "",
          "package_slug": "go/github.com/zinclabs/zinc",
          "pubdate": "2022-10-06",
          "solution": "Unfortunately, there is no solution available yet.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-32171",
            "https://www.mend.io/vulnerability-database/CVE-2022-32171",
            "https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d"
          ],
          "uuid": "2949211e-d784-417a-84a7-bf79a3a270c3",
          "versions": [
            {
              "commit": {
                "sha": "61ebf9ed56ae86501f022694031af9af05518da1",
                "tags": [
                  "v0.1.9"
                ],
                "timestamp": "20220419220753"
              },
              "number": "v0.1.9"
            },
            {
              "commit": {
                "sha": "79fdf679087a0f248019592df50958d90d3d1413",
                "tags": [
                  "v0.3.1"
                ],
                "timestamp": "20220901154534"
              },
              "number": "v0.3.1"
            }
          ]
        },
        {
          "affected_range": "\u003e=v0.1.9 \u003cv0.3.2",
          "affected_versions": "All versions starting from 0.1.9 before 0.3.2",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2023-07-06",
          "description": "In Zinc, versions v0.1.9 through v0.3.1 is vulnerable to Stored Cross-Site Scripting when using the delete user functionality. When an authenticated user deletes a user having a XSS payload in the user id field, the javascript payload will be executed and allow an attacker to access the user\u2019s credentials.",
          "fixed_versions": [
            "v0.3.2"
          ],
          "identifier": "CVE-2022-32171",
          "identifiers": [
            "GHSA-4fgv-8448-gf82",
            "CVE-2022-32171"
          ],
          "not_impacted": "All versions before 0.1.9, all versions starting from 0.3.2",
          "package_slug": "go/github.com/zincsearch/zincsearch",
          "pubdate": "2023-07-06",
          "solution": "Upgrade to version 0.3.2 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-32171",
            "https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d",
            "https://www.mend.io/vulnerability-database/CVE-2022-32171",
            "https://github.com/zincsearch/zincsearch/commit/3376c248bade163430f9347742428f0a82cd322d",
            "https://github.com/advisories/GHSA-4fgv-8448-gf82"
          ],
          "uuid": "1ccaada6-f1ff-4729-915f-b95798dc8dee",
          "versions": [
            {
              "commit": {
                "sha": "61ebf9ed56ae86501f022694031af9af05518da1",
                "tags": [
                  "v0.1.9"
                ],
                "timestamp": "20220419220753"
              },
              "number": "v0.1.9"
            },
            {
              "commit": {
                "sha": "a70cdcb975832333fae089f1d7d3c1f61f8adfeb",
                "tags": [
                  "v0.3.2"
                ],
                "timestamp": "20220910113626"
              },
              "number": "v0.3.2"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:zinclabs:zinc:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "0.3.1",
                "versionStartIncluding": "0.1.9",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "vulnerabilitylab@mend.io",
          "ID": "CVE-2022-32171"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "In Zinc, versions v0.1.9 through v0.3.1 are vulnerable to Stored Cross-Site Scripting when using the delete user functionality. When an authenticated user deletes a user having a XSS payload in the user id field, the javascript payload will be executed and allow an attacker to access the user\u2019s credentials."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://www.mend.io/vulnerability-database/CVE-2022-32171",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://www.mend.io/vulnerability-database/CVE-2022-32171"
            },
            {
              "name": "https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.3,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2022-11-07T20:20Z",
      "publishedDate": "2022-10-06T18:16Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…