{"id":"CVE-2024-39361","state":"PUBLISHED","title":"Creating posts with user-defined IDs permitted in CreatePost API","description":"Mattermost versions 9.8.0, 9.7.x <= 9.7.4, 9.6.x <= 9.6.2 and 9.5.x <= 9.5.5 fail to prevent users from specifying a RemoteId for their posts which allows an attacker to specify both a remoteId and the post ID, resulting in creating a post with a user-defined post ID. This can cause some broken functionality in the channel or thread with user-defined posts","publishedAt":"2024-07-03T08:35:43.118Z","updatedAt":"2024-08-02T04:26:14.801Z","severity":{"score":3.1,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"Mattermost"},"assigner":"Mattermost","products":["Mattermost Mattermost"],"affected":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"version":"9.8.0","status":"affected"},{"version":"9.7.0","status":"affected","lessThanOrEqual":"9.7.4","versionType":"semver"},{"version":"9.6.0","status":"affected","lessThanOrEqual":"9.6.2","versionType":"semver"},{"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.7.5","status":"unaffected"},{"version":"9.6.3","status":"unaffected"},{"version":"9.5.6","status":"unaffected"}]}],"references":["https://mattermost.com/security-updates"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/39xxx/CVE-2024-39361.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-39361","state":"PUBLISHED","datePublished":"2024-07-03T08:35:43.118Z","dateUpdated":"2024-08-02T04:26:14.801Z","assignerShortName":"Mattermost","assignerOrgId":"9302f53e-dde5-4bf3-b2f2-a83f91ac0eee","dateReserved":"2024-07-01T10:22:11.616Z"},"containers":{"cna":{"title":"Creating posts with user-defined IDs permitted in CreatePost API","descriptions":[{"lang":"en","value":"Mattermost versions 9.8.0, 9.7.x <= 9.7.4, 9.6.x <= 9.6.2 and 9.5.x <= 9.5.5 fail to prevent users from specifying a RemoteId for their posts which allows an attacker to specify both a remoteId and the post ID, resulting in creating a post with a user-defined post ID. This can cause some broken functionality in the channel or thread with user-defined posts"}],"affected":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"version":"9.8.0","status":"affected"},{"version":"9.7.0","status":"affected","lessThanOrEqual":"9.7.4","versionType":"semver"},{"version":"9.6.0","status":"affected","lessThanOrEqual":"9.6.2","versionType":"semver"},{"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.7.5","status":"unaffected"},{"version":"9.6.3","status":"unaffected"},{"version":"9.5.6","status":"unaffected"}]}],"references":[{"url":"https://mattermost.com/security-updates"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","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:35:43.118Z"},"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.7.5, 9.6.3, 9.5.6 or higher.</p>"}],"value":"Update Mattermost to versions 9.9.0, 9.8.1, 9.7.5, 9.6.3, 9.5.6 or higher."}],"source":{"advisory":"MMSA-2024-00347","defect":["https://mattermost.atlassian.net/browse/MM-58276"],"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-03T15:12:06.305904Z","id":"CVE-2024-39361","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-03T15:12:16.370Z"}},{"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-02T04:26:14.801Z"}}]}}}