{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-2450",
        "ASSIGNER": "responsibledisclosure@mattermost.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Mattermost versions 8.1.x before 8.1.10, 9.2.x before 9.2.6, 9.3.x before 9.3.2, and 9.4.x before 9.4.3 fail to correctly verify account ownership when switching from email to SAML authentication, allowing an authenticated attacker to take over other user accounts via a crafted switch request under specific conditions.\n\n"
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-287: Improper Authentication",
                        "cweId": "CWE-287"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Mattermost",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Mattermost",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "status": "affected",
                                                        "version": "9.5.0"
                                                    },
                                                    {
                                                        "lessThanOrEqual": "9.4.2",
                                                        "status": "affected",
                                                        "version": "9.4.0",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "lessThanOrEqual": "9.3.1",
                                                        "status": "affected",
                                                        "version": "9.3.0",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "lessThanOrEqual": "9.2.5",
                                                        "status": "affected",
                                                        "version": "9.2.0",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "lessThanOrEqual": "8.1.9",
                                                        "status": "affected",
                                                        "version": "8.1.0",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "status": "unaffected",
                                                        "version": "9.6.0"
                                                    },
                                                    {
                                                        "status": "unaffected",
                                                        "version": "9.4.3"
                                                    },
                                                    {
                                                        "status": "unaffected",
                                                        "version": "9.5.1"
                                                    },
                                                    {
                                                        "status": "unaffected",
                                                        "version": "9.3.2"
                                                    },
                                                    {
                                                        "status": "unaffected",
                                                        "version": "9.2.6"
                                                    },
                                                    {
                                                        "status": "unaffected",
                                                        "version": "8.1.10"
                                                    }
                                                ],
                                                "defaultStatus": "unaffected"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://mattermost.com/security-updates",
                "refsource": "MISC",
                "name": "https://mattermost.com/security-updates"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.1.0-dev"
    },
    "source": {
        "advisory": "MMSA-2024-00309",
        "defect": [
            "https://mattermost.atlassian.net/browse/MM-56751"
        ],
        "discovery": "INTERNAL"
    },
    "solution": [
        {
            "lang": "en",
            "supportingMedia": [
                {
                    "base64": false,
                    "type": "text/html",
                    "value": "<p>Update Mattermost Server to versions 9.6, 9.4.3, 9.5.1, 9.3.2, 9.2.6, 8.1.10 or higher.</p>"
                }
            ],
            "value": "Update Mattermost Server to versions 9.6, 9.4.3, 9.5.1, 9.3.2, 9.2.6, 8.1.10 or higher.\n\n"
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "Juho Nurminen"
        }
    ],
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
            }
        ]
    }
}