LiveActive security incident?Get immediate response
CVE Record

CVE-2023-3581: WebSockets accept connections from HTTPS origin

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

MediumCVSS 6.2Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Mattermost had an origin-validation weakness in WebSocket connections. In the described scenario, a man-in-the-middle attacker with high privileges and physical-position access could reach WebSocket APIs and compromise confidentiality, integrity, and availability. The bundle does not show active exploitation or a named fixed version.

Executive priority

Treat this as a planned remediation item, not an emergency, unless Mattermost is business-critical or exposed in higher-risk network paths. Confirm version exposure promptly and upgrade if vendor guidance applies.

Technical view

CVE-2023-3581 is a CWE-346 origin validation issue where Mattermost improperly validates WebSocket connection origins. The CVSS 3.1 score is 6.2 with AV:P, PR:H, UI:N, and high CIA impact. The affected version data in the bundle is incomplete or ambiguous.

Likely exposure

Exposure is most relevant to organizations running Mattermost versions matching the vendor advisory. Public internet exposure alone is not enough; the CVSS vector requires physical access and high privileges.

Exploitation context

No active exploitation is cited in the bundle, and the CVE is not marked CISA KEV. The described attacker is a MITM attacker on Mattermost who can access WebSocket APIs because origin checks fail.

Researcher notes

The source bundle gives the weakness, CVSS vector, CWE, and Mattermost reference, but not a clear vulnerable range or fixed release. Avoid assuming exploitation or patch details beyond Mattermost’s advisory.

Mitigation direction

  • Review Mattermost security updates for the authoritative affected and fixed versions.
  • Upgrade Mattermost according to vendor guidance if your version is affected.
  • Limit Mattermost access to trusted networks where feasible.
  • Monitor Mattermost WebSocket/API activity for unusual authenticated sessions.

Validation and detection

  • Inventory all Mattermost deployments and record exact versions.
  • Compare installed versions against the Mattermost security updates page.
  • Review reverse proxy and TLS paths for possible MITM exposure.
  • Check logs for unexpected WebSocket origins or anomalous API activity.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-346: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-3581 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.2CVSS 3.1MediumCVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H0.35.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.2Medium
CVSS 3.1 vector shape for CVE-2023-3581Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
MattermostMattermost0, 0, 0, 7.8.7, 7.9.5, 7.10.3unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.