CVE-2024-45793: Prevent XSS from Confidant API call
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…
Published Sep 20, 2024
Affected packages
confidant
- Ecosystem
- PyPI
- Affected
- < 6.6.2
- Fixed in
- 6.6.2
- Check
pip show confidant
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to whu-lyft, meng-han, alejandroroiz, achantavy, heryxpc, anshumanbh, bstewart-lyft, reindaelman.
References
- https://github.com/lyft/confidant/security/advisories/GHSA-rxq8-q85f-m866
- https://github.com/lyft/confidant/commit/8876b07abde0c8d2a4974f79b60562b6d0193db9
- https://nvd.nist.gov/vuln/detail/CVE-2024-45793
- https://hackerone.com/reports/2332004
- https://hackerone.com/reports/2456673
- https://hackerone.com/reports/2476542
- https://github.com/advisories/GHSA-rxq8-q85f-m866
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
