{"id":"CVE-2024-29221","state":"PUBLISHED","title":"Invite ID available to team admins even without the \"Add Members\" permission","description":"Improper Access Control in Mattermost Server versions 9.5.x before 9.5.2, 9.4.x before 9.4.4, 9.3.x before 9.3.3, 8.1.x before 8.1.11 lacked proper access control in the `/api/v4/users/me/teams` endpoint allowing a team admin to get the invite ID of their team, thus allowing them to invite users, even if the \"Add Members\" permission was explicitly removed from team admins. \n\n","publishedAt":"2024-04-05T08:15:07.130Z","updatedAt":"2024-08-02T01:10:54.523Z","severity":{"score":4.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","source":"Mattermost"},"assigner":"Mattermost","products":["Mattermost Mattermost"],"affected":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"version":"9.5.0","status":"affected","lessThanOrEqual":"9.5.1","versionType":"semver"},{"version":"9.4.0","status":"affected","lessThanOrEqual":"9.4.3","versionType":"semver"},{"version":"9.3.0","status":"affected","lessThanOrEqual":"9.3.2","versionType":"semver"},{"version":"8.1.0","status":"affected","lessThanOrEqual":"8.1.10","versionType":"semver"},{"version":"9.6.0","status":"unaffected"},{"version":"9.5.2","status":"unaffected"},{"version":"9.4.4","status":"unaffected"},{"version":"9.3.3","status":"unaffected"},{"version":"8.1.11","status":"unaffected"}]}],"references":["https://mattermost.com/security-updates"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/29xxx/CVE-2024-29221.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-29221","state":"PUBLISHED","datePublished":"2024-04-05T08:15:07.130Z","dateUpdated":"2024-08-02T01:10:54.523Z","assignerShortName":"Mattermost","assignerOrgId":"9302f53e-dde5-4bf3-b2f2-a83f91ac0eee","dateReserved":"2024-04-03T10:03:48.289Z"},"containers":{"cna":{"title":"Invite ID available to team admins even without the \"Add Members\" permission","descriptions":[{"lang":"en","value":"Improper Access Control in Mattermost Server versions 9.5.x before 9.5.2, 9.4.x before 9.4.4, 9.3.x before 9.3.3, 8.1.x before 8.1.11 lacked proper access control in the `/api/v4/users/me/teams` endpoint allowing a team admin to get the invite ID of their team, thus allowing them to invite users, even if the \"Add Members\" permission was explicitly removed from team admins. \n\n"}],"affected":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"version":"9.5.0","status":"affected","lessThanOrEqual":"9.5.1","versionType":"semver"},{"version":"9.4.0","status":"affected","lessThanOrEqual":"9.4.3","versionType":"semver"},{"version":"9.3.0","status":"affected","lessThanOrEqual":"9.3.2","versionType":"semver"},{"version":"8.1.0","status":"affected","lessThanOrEqual":"8.1.10","versionType":"semver"},{"version":"9.6.0","status":"unaffected"},{"version":"9.5.2","status":"unaffected"},{"version":"9.4.4","status":"unaffected"},{"version":"9.3.3","status":"unaffected"},{"version":"8.1.11","status":"unaffected"}]}],"references":[{"url":"https://mattermost.com/security-updates"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/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-04-05T08:15:07.130Z"},"credits":[{"lang":"en","type":"finder","value":"omar ahmed (omar-ahmed)"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Update Mattermost Server to versions 9.6.0, 9.5.2, 9.4.4, 9.3.3, 8.1.11 or higher.</p>"}],"value":"Update Mattermost Server to versions 9.6.0, 9.5.2, 9.4.4, 9.3.3, 8.1.11 or higher.\n\n"}],"source":{"advisory":"MMSA-2024-00311","defect":["https://mattermost.atlassian.net/browse/MM-56821"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-29221","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-04-09T17:16:33.172848Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:57:08.139Z"}},{"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-02T01:10:54.523Z"}}]}}}