CVE-2023-3581 WebSockets accept connections from HTTPS origin

Medium 6.2 Published Updated

A Man-in-the-Middle attacker can bypass origin validation to access Mattermost WebSocket APIs, potentially reading or modifying data.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-3581?

CVE-2023-3581 is a medium-severity vulnerability in Mattermost Mattermost Server, published on 17 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Mattermost fails to properly validate the origin of a websocket connection allowing a MITM attacker on Mattermost to access the websocket APIs.

Weakness: CWE-346

Which versions are affected by CVE-2023-3581?

1 open source package ship an affected version, including mattermost. It affects 1 product.

PackageAffectedFixed in
mattermost BitnamiFrom 7.8.07.8.7, 7.9.5, 7.10.3

Products include Mattermost Mattermost Server.

How do I fix CVE-2023-3581?

Upgrade mattermost to a fixed version for your release line: 7.8.7, 7.9.5 or 7.10.3.

Is CVE-2023-3581 being exploited?

There is no known exploitation of CVE-2023-3581 in the wild and no public exploit code.

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as BIT-mattermost-2023-3581, GHSA-5g2h-c436-5ppg.

Is CVE-2023-3581 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free