Auth bypass in Cometd

CVE-2022-24721

CometD is a scalable comet implementation for web messaging. In any version prior to 5.0.11, 6.0.6, and 7.0.6, internal usage of Oort and Seti channels is improperly authorized, so any remote user could subscribe and publish to those channels. By subscribing to those channels, a remote user may be able to watch cluster-internal traffic that contains other users' (possibly sensitive) data. By publishing to those channels, a remote user may be able to create/modify/delete other user's data and modify the cluster structure. A fix is available in versions 5.0.11, 6.0.6, and 7.0.6. As a workaround, install a custom `SecurityPolicy` that forbids subscription and publishing to remote, non-Oort, sessions on Oort and Seti channels.

Vulnerability class: Broken Access Control

EPSS: 0.011 (63.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.

Affected products

  • Cometd — versions < 5.0.11, >= 6.0.0, < 6.0.6, >= 7.0.0, < 7.0.6

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-24721?
CVE-2022-24721 is a high-severity vulnerability in Cometd, classified under Incorrect Authorization. CVSS score: 8.1/10. Published 2022-03-15.
How severe is CVE-2022-24721?
High severity. CVSS v3 base score is 8.1 out of 10.