GHSA-RXQ8-Q85F-M866

Vulnerability from github – Published: 2024-09-20 15:45 – Updated: 2024-09-20 22:07
VLAI
Summary
Prevent XSS from Confidant API call
Details

Impact

What kind of vulnerability is it? Who is impacted? Potential XSS from API calls below: GET /v1/credentials GET /v1/credentials/ GET /v1/archive/credentials/ GET /v1/archive/credentials POST /v1/credentials PUT /v1/credentials/ PUT /v1/credentials//

GET /v1/services GET /v1/services/ GET /v1/archive/services/ GET /v1/archive/services PUT /v1/services/ PUT /v1/services//

Stored XSS that can only be used as a stored HTML injection. The attacker needs to be authenticated and have privileges to create new credentials, but could use this to show information and run scripts to other users into the same Confidant instance.

Patches

Has the problem been patched? What versions should users upgrade to? yes, version 6.6.2

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading? NO

References

Are there any links users can visit to find out more? https://hackerone.com/reports/2332004 https://hackerone.com/reports/2456673 https://hackerone.com/reports/2476542 Acknowledgement: Thank you Rein Daelman (trein) for reporting and proposing the fix.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "confidant"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.6.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2024-45793"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-09-20T15:45:23Z",
    "nvd_published_at": "2024-09-20T20:15:05Z",
    "severity": "MODERATE"
  },
  "details": "### Impact\n_What kind of vulnerability is it? Who is impacted?_\nPotential XSS from API calls below:\nGET \u003capp\u003e/v1/credentials\nGET \u003capp\u003e/v1/credentials/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/credentials/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/credentials\nPOST \u003capp\u003e/v1/credentials\nPUT \u003capp\u003e/v1/credentials/\u003cid\u003e\nPUT \u003capp\u003e/v1/credentials/\u003cid\u003e/\u003cto_revision\u003e\n\nGET \u003capp\u003e/v1/services\nGET \u003capp\u003e/v1/services/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/services/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/services\nPUT \u003capp\u003e/v1/services/\u003cid\u003e\nPUT \u003capp\u003e/v1/services/\u003cid\u003e/\u003cto_revision\u003e\n\nStored XSS that can only be used as a stored HTML injection. The attacker needs to be authenticated and have privileges to create new credentials, but could use this to show information and run scripts to other users into the same Confidant instance.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\nyes, version 6.6.2\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nNO\n\n### References\n_Are there any links users can visit to find out more?_\nhttps://hackerone.com/reports/2332004\nhttps://hackerone.com/reports/2456673\nhttps://hackerone.com/reports/2476542\nAcknowledgement: \nThank you Rein Daelman ([trein](https://hackerone.com/trein)) for reporting and proposing the fix.",
  "id": "GHSA-rxq8-q85f-m866",
  "modified": "2024-09-20T22:07:20Z",
  "published": "2024-09-20T15:45:23Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/lyft/confidant/security/advisories/GHSA-rxq8-q85f-m866"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45793"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lyft/confidant/commit/8876b07abde0c8d2a4974f79b60562b6d0193db9"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/2332004"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/2456673"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/2476542"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/lyft/confidant"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Prevent XSS from Confidant API call"
}



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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…