CVE-2022-24721
JSON

8.1high

Incorrect Authorization in org.cometd.oort

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
1.15% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rjmq-6v55-4rjv

Description

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.

Affected

Product or packageVersionsReported by
cometd cometd< 5.0.11, >= 6.0.0, < 6.0.6, >= 7.0.0, < 7.0.6, before 5.0.11, from 6.0.0 before 6.0.6, from 7.0.0 before 7.0.6CVE List, NVD
org.cometd.java:cometd-java-oort (Maven)before 5.0.11, from 6.0.0 before 6.0.6, from 7.0.0 before 7.0.6GitHub Advisory Database

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD5.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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 user's (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. The issue impacts any version up to 5.0.10, 6.0.5 and 7.0.5.

Patches

The issue has been fixed in 5.0.11, 6.0.6 and 7.0.6.

Workarounds

The workaround is to install a custom SecurityPolicy that forbids subscription and publishing to remote, non-Oort, sessions on Oort and Seti channels. This workaround could be implemented in any affected version.

References

cometd/cometd#1146

For more information

If you have any questions or comments about this advisory:

Credits

https://www.redteam-pentesting.de/

NVD (es)

CometD es una implementación escalable de comet para la mensajería web. En cualquier versión anterior a 5.0.11, 6.0.6 y 7.0.6, el uso interno de los canales Oort y Seti está indebidamente autorizado, por lo que cualquier usuario remoto podría suscribirse y publicar en esos canales. Al suscribirse a esos canales, un usuario remoto podría visualizar el tráfico interno del clúster que contiene datos de otros usuarios (posiblemente confidenciales). Al publicar en esos canales, un usuario remoto podría crear/modificar/borrar los datos de otros usuarios y modificar la estructura del clúster. Se presenta una corrección disponible en versiones 5.0.11, 6.0.6 y 7.0.6. Como medida de mitigación, instale una "SecurityPolicy" personalizada que prohíba la suscripción y publicación a sesiones remotas, no Oort, en los canales Oort y Seti

References

Sources

SourceRecordLicence
CVE ListCVE-2022-24721 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-rjmq-6v55-4rjv changed 2023-11-08CC-BY-4.0
NVDCVE-2022-24721 changed 2026-06-17Public domain