CVE-2022-24721
Improper Authorization in org.cometd.oort
Impact
### 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: * Email us at [security@webtide.com](mailto:security@webtide.com) ### Credits https://www.redteam-pentesting.de/
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.cometd.java:cometd-java-oort | < 5.0.11 | 5.0.11 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Cometd | Cometd | before 5.0.11 from 6.0.0 before 6.0.6 from 7.0.0 before 7.0.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/cometd/cometd/issues/1146
- https://github.com/cometd/cometd/security/advisories/GHSA-rjmq-6v55-4rjv
- https://github.com/advisories/GHSA-rjmq-6v55-4rjv
- https://github.com/cometd/cometd/commit/bb445a143fbf320f17c62e340455cd74acfb5929
- https://nvd.nist.gov/vuln/detail/CVE-2022-24721