CVE-2024-36287: Mattermost Desktop App TCC bypass on macOS

CVE-2024-36287 · Severity: low · CVSS 3.1 · Published 2024-06-14

Mattermost Desktop App on macOS failed to disable certain debug flags in Electron, allowing local attackers to bypass macOS Transparency, Consent, and Control (TCC) restrictions. This could permit unauthorized access to user data like camera, microphone, contacts, or files that the operating system is designed to protect through user consent prompts.

Technologies: Mattermost Desktop App. Vendors: Mattermost.

Quick answers

Is CVE-2024-36287 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-36287 being exploited in the wild.
How severe is CVE-2024-36287?
Low severity, with a CVSS score of 3.1, published 14 June 2024.
Which products and versions are affected?
Mattermost Desktop App 5.7.0 and earlier.
Is there a fix for CVE-2024-36287?
A patch was published on 2024-06-14: Fix available in version 5.8.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2024-36287 attacked?
It is attacked with local access, in a network appliance.
Am I affected by CVE-2024-36287?
Check whether you run Mattermost Desktop App at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability stems from CWE-693 (Protection Mechanism Failure) where Mattermost Desktop App versions ≤5.7.0 left Electron debug flags enabled in the production build. These debug flags can be leveraged by a local attacker with user-level privileges to bypass macOS TCC (Transparency, Consent, and Control) restrictions without user interaction. An attacker with local access to the system running the affected application can exploit this to gain unauthorized access to protected resources. The vulnerability was fixed in version 5.8.0.

Affected products

  • Mattermost Desktop App 5.7.0 and earlier

Identifiers

  • CVE-2024-36287
  • GHSA-xgqm-wp7w-mgg2

Timeline

  • 2024-06-14: disclosed: Vulnerability published
  • 2024-06-14: patched: Fix available in version 5.8.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.