SecurityContext

CVE-2021-3509: Red Hat Ceph Storage - Stored XSS

  • Cve: CVE-2021-3509
  • Name: Red Hat Ceph Storage - Stored XSS
  • Description: 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.
  • Impact: Attackers can steal JWT tokens via XSS, leading to potential session hijacking and unauthorized access.
  • Remediation: Ensure token cookies are not included in response bodies and implement proper XSS protections.
  • Vulnerability type: stored_xss
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs to exploit XSS vulnerability
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.017
  • Epss percentile: 0.77688
  • Assignee: [email protected]
  • Published at: 2021-05-27T00:15:08Z
  • Age in days: 2007
  • Modified at: 2026-06-17T04:05:15Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3509
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409nvd2021-05-27

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=1950116Issue Tracking, Patch, Vendor Advisory
https://github.com/ceph/ceph/commit/7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27bPatch, Third Party Advisory
https://github.com/ceph/ceph/commit/adda853e64bdba1288d46bc7d462d23d8f2f10caPatch, Third Party Advisory
https://github.com/ceph/ceph/commit/af3fffab3b0f13057134d96e5d481e400d8bfd27Patch, Third Party Advisory
https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409Exploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
redhat:ceph_storage= 4.0nonvd/v1/products/redhat/ceph_storage

Projects

RepositoryLink kindsIndexedUrl
ceph/cephcommit, fixyes/v1/repositories/ceph/ceph

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-05-27
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts