XSS in Red Hat Ceph Storage
CVE-2021-3509
A flaw was found in Red Hat Ceph Storage 4, in the Dashboard component. In response to CVE-2020-27839, the JWT token was moved from localStorage to an httpOnly cookie. However, token cookies are used in the body of the HTTP response for the documentation, which again makes it available to XSS.The greatest threat to the system is for confidentiality, integrity, and availability.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.017, 77.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Red Hat Ceph Storage — versions 4.0
- Ceph-Dashboard — versions as shipped in Red Hat Ceph Storage 4
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Issue Tracking, Vendor Advisory)
- github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/m… (Exploit, Third Party Advisory)
- github.com/ceph/ceph/commit/adda853e64bdba1288d46bc7d462d23d8f2f10ca (Patch, Third Party Advisory)
- github.com/ceph/ceph/commit/7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b (Patch, Third Party Advisory)
- github.com/ceph/ceph/commit/af3fffab3b0f13057134d96e5d481e400d8bfd27 (Patch, Third Party Advisory)