{"id":"CVE-2024-36257","state":"PUBLISHED","title":"Lack of permission check when updating the profile picture of a remote user (shared channels enabled)","description":"Mattermost versions 9.5.x <= 9.5.5 and 9.8.0, when using shared channels with multiple remote servers connected, fail to check that the remote server A requesting the server B to update the profile picture of a user is the remote that actually has the user as a local one . This allows a malicious remote A to change the profile images of users that belong to another remote server C that is connected to the server A.","publishedAt":"2024-07-03T08:29:10.457Z","updatedAt":"2024-08-02T03:37:03.658Z","severity":{"score":2.7,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","source":"Mattermost"},"assigner":"Mattermost","products":["Mattermost Mattermost"],"affected":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"version":"9.8.0","status":"affected"},{"version":"9.5.0","status":"affected","lessThanOrEqual":"9.5.5","versionType":"semver"},{"version":"9.9.0","status":"unaffected"},{"version":"9.8.1","status":"unaffected"},{"version":"9.5.6","status":"unaffected"}]}],"references":["https://mattermost.com/security-updates"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/36xxx/CVE-2024-36257.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-36257","state":"PUBLISHED","datePublished":"2024-07-03T08:29:10.457Z","dateUpdated":"2024-08-02T03:37:03.658Z","assignerShortName":"Mattermost","assignerOrgId":"9302f53e-dde5-4bf3-b2f2-a83f91ac0eee","dateReserved":"2024-07-01T10:22:11.588Z"},"containers":{"cna":{"title":"Lack of permission check when updating the profile picture of a remote user (shared channels enabled)","descriptions":[{"lang":"en","value":"Mattermost versions 9.5.x <= 9.5.5 and 9.8.0, when using shared channels with multiple remote servers connected, fail to check that the remote server A requesting the server B to update the profile picture of a user is the remote that actually has the user as a local one . This allows a malicious remote A to change the profile images of users that belong to another remote server C that is connected to the server A."}],"affected":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"version":"9.8.0","status":"affected"},{"version":"9.5.0","status":"affected","lessThanOrEqual":"9.5.5","versionType":"semver"},{"version":"9.9.0","status":"unaffected"},{"version":"9.8.1","status":"unaffected"},{"version":"9.5.6","status":"unaffected"}]}],"references":[{"url":"https://mattermost.com/security-updates"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":2.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","description":"CWE-284: Improper Access Control","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Mattermost","orgId":"9302f53e-dde5-4bf3-b2f2-a83f91ac0eee","dateUpdated":"2024-07-03T08:29:10.457Z"},"credits":[{"lang":"en","type":"finder","value":"Juho Forsén"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Update Mattermost to versions 9.9.0, 9.8.1, 9.5.6 or higher.</p>"}],"value":"Update Mattermost to versions 9.9.0, 9.8.1, 9.5.6 or higher."}],"source":{"advisory":"MMSA-2024-00327","defect":["https://mattermost.atlassian.net/browse/MM-57859"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"mattermost","product":"mattermost","defaultStatus":"unaffected","versions":[{"version":"9.5.0","status":"affected","lessThanOrEqual":"9.5.5","versionType":"custom"}],"cpes":["cpe:2.3:a:mattermost:mattermost:9.5.0:*:*:*:*:*:*:*"]},{"vendor":"mattermost","product":"mattermost","defaultStatus":"unaffected","versions":[{"version":"9.8.0","status":"affected"}],"cpes":["cpe:2.3:a:mattermost:mattermost:9.8.0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-03T13:14:03.579159Z","id":"CVE-2024-36257","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-03T13:37:07.512Z"}},{"title":"CVE Program Container","references":[{"url":"https://mattermost.com/security-updates","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:37:03.658Z"}}]}}}