CVE-2024-5270: SAML to email switch possible when email signin is disabled

Published May 26, 2024
·
Updated

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.

Affected Software

5 affected components
Mattermost Mattermost<=9.5.3, <=9.7.1, <=9.6.1, <=8.1.12
Mattermost Mattermost Server>=8.1.0<8.1.13
Mattermost Mattermost Server>=9.5.0<9.5.4
Mattermost Mattermost Server>=9.6.0<9.6.2
Mattermost Mattermost Server>=9.7.0<9.7.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 9.8.0
  2. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 9.5.4
  3. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 9.7.2
  4. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 9.6.2
  5. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 8.1.13

Event History

May 26, 2024
CVE Published
via MITRE·01:30 PM
Data Sourced
via MITRE·01:30 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-5270?

CVE-2024-5270 is classified as a medium severity vulnerability due to improper validation in authentication methods.

2

How do I fix CVE-2024-5270?

To fix CVE-2024-5270, upgrade to Mattermost versions 9.5.4, 9.6.2, 9.7.2 or later.

3

Which Mattermost versions are affected by CVE-2024-5270?

CVE-2024-5270 affects Mattermost versions 9.5.x up to 9.5.3, 9.6.x up to 9.6.1, 9.7.x up to 9.7.1, and 8.1.x up to 8.1.12.

4

What vulnerability does CVE-2024-5270 exploit?

CVE-2024-5270 exploits the failure to properly check email signup configuration when users switch authentication methods.

5

Is user data at risk due to CVE-2024-5270?

Yes, CVE-2024-5270 could potentially expose user accounts to unauthorized access if exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203