SecurityContext

CVE-2024-5270: Mattermost - Authentication Bypass

  • Cve: CVE-2024-5270
  • Name: Mattermost - Authentication Bypass
  • Description: Mattermost versions 9.5.x <= 9.5.3, 9.7.x <= 9.7.1, 9.6.x <= 9.6.1 and 8.1.x <= 8.1.12 fail to check if the email signup configuration option is enabled when a user requests to switch from SAML to Email. This allows the user to switch their authentication mail from SAML to email and possibly edit personal details that were otherwise non-editable and provided by the SAML provider.
  • Impact: Attackers can switch authentication methods and modify personal details, potentially leading to privilege escalation or unauthorized access.
  • Remediation: Update to the latest version where this issue is fixed, or apply the provided patches if available.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: user_interaction
  • Requirements: User needs to request switch from SAML to email authentication
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00274
  • Epss percentile: 0.198
  • Assignee: [email protected]
  • Published at: 2024-05-26T14:15:10Z
  • Age in days: 912
  • Modified at: 2026-06-17T08:15:34Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-5270
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-284Improper Access Control

References

UrlSourceTags
https://mattermost.com/security-updatesnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mattermost:mattermost_server>= 9.7.0, < 9.7.2; >= 9.6.0, < 9.6.2; >= 9.5.0, < 9.5.4; >= 8.1.0, < 8.1.13nonvd/v1/products/mattermost/mattermost_server

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts