CVE-2022-31095 Exposure of Sensitive Information in discourse-chat
An attacker can view private direct messages in the Discourse chat plugin by guessing message IDs, exposing sensitive information.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-31095?
CVE-2022-31095 is a medium-severity missing authorization vulnerability in discourse-chat, published on 21 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
discourse-chat is a chat plugin for the Discourse application. Versions prior to 0.4 are vulnerable to an exposure of sensitive information, where an attacker who knows the message ID for a channel they do not have access to can view that message using the chat message lookup endpoint, primarily affecting direct message channels. There are no known workarounds for this issue, and users are advised to update the plugin.
Which versions are affected by CVE-2022-31095?
It affects 1 product.
Products include Discourse Discourse-Chat.
How do I fix CVE-2022-31095?
No fix has been published for CVE-2022-31095 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-31095 being exploited?
There is no known exploitation of CVE-2022-31095 in the wild and no public exploit code.