GitHub Advisoryadvisory · PyPI

GHSA-rxq8-q85f-m866 Prevent XSS from Confidant API call

MEDIUM Published 2024-09-20 Modified 2024-09-20 Official page ↗
Aliases
CVE-2024-45793
Ecosystem
PyPI
Packages
confidant
Severity
Moderate
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2024-09-20

Affected packages

• PyPI confidant: < 6.6.2 → fixed in 6.6.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-45793 Confidant is a open source secret management service that provides user-friendly storage and access to secrets. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References