CVE-2021-3509: XSS

Published Apr 15, 2021
·
Updated

A flaw was found in ceph. In order to make the JWT token inaccessible through XSS, it was moved from localStorage to httpOnly Cookie (CVE-2020-27839). But token cookie are used in the body of the HTTP response for the documentation, which again makes it available to XSS.

References:

https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
redhat/nautilus<14.2.20
14.2.20
redhat/octopus<15.2.11
15.2.11
redhat/pacific<16.2.3
16.2.3
redhat Ceph Storage=4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/nautilus to a version that resolves this vulnerability.

    Fixed in 14.2.20
  2. Upgrade

    Upgrade redhat/octopus to a version that resolves this vulnerability.

    Fixed in 15.2.11
  3. Upgrade

    Upgrade redhat/pacific to a version that resolves this vulnerability.

    Fixed in 16.2.3

Event History

May 26, 2021
CVE Published
via MITRE·11:56 PM
Data Sourced
via MITRE·11:56 PM
DescriptionWeakness
May 27, 2021
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-3509?

CVE-2021-3509 has been assigned a high severity rating due to its potential exploitation in XSS attacks.

2

How do I fix CVE-2021-3509?

To mitigate CVE-2021-3509, upgrade to Red Hat Ceph Storage versions 14.2.20, 15.2.11, or 16.2.3.

3

Which versions of Red Hat Ceph Storage are affected by CVE-2021-3509?

CVE-2021-3509 affects Red Hat Ceph Storage versions prior to 14.2.20, 15.2.11, and 16.2.3.

4

What components are impacted by CVE-2021-3509?

CVE-2021-3509 impacts the Dashboard component of Red Hat Ceph Storage.

5

Is there an official patch for CVE-2021-3509?

Yes, official patches are available in the form of upgrades to specific version releases for Red Hat Ceph Storage.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203