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

Medium 4.3 Published Updated

Attackers can bypass SAML authentication restrictions to switch to email login and modify protected profile fields in Mattermost.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5270?

CVE-2024-5270 is a medium-severity authentication bypass vulnerability in Mattermost Mattermost Server, published on 26 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-284

Which versions are affected by CVE-2024-5270?

It affects 1 product.

Products include Mattermost Mattermost Server.

How do I fix CVE-2024-5270?

No fix has been published for CVE-2024-5270 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-5270 being exploited?

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

All Mattermost Mattermost Server vulnerabilities

Sources

Is CVE-2024-5270 in your software?

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

Check your SBOMs for free