{"id":"CVE-2022-1332","published":"2022-04-13T17:06:03Z","modified":"2024-12-06T23:09:44Z","title":"Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"One of the API in Mattermost version 6.4.1 and earlier fails to properly protect the permissions, which allows the authenticated members with restricted custom admin role to bypass the restrictions and view the server logs and server config.json file contents.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0065,"percentile":0.52105,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://mattermost.com/security-updates/","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":10.42},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 6.4, < 6.4.2",">= 6.3, < 6.3.5",">= 6.2, < 6.2.5",">= 5.37, < 5.37.9"]}],"solutions":{"items":["Update Mattermost to version v6.4.2, 6.3.5, 6.2.5, or 5.37.9, depending on the minor version being run"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-06T22:53:04.437714Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":[">=6.4.0, <6.4.2",">=6.3.0, <6.3.5",">=6.0.0, <6.2.5"],"patched":["6.4.2","6.3.5","6.2.5"],"from":["GHSA-qggc-pj29-j27m","GO-2022-0616"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["<5.37.9"],"patched":["5.37.9"],"from":["GHSA-qggc-pj29-j27m","GO-2022-0616"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2022-0616"],"provenance":"source"}],"summary":{"text":"The flaw is in an API of Mattermost that fails to properly enforce permissions, located in the Mattermost product itself. An authenticated user holding a restricted custom admin role can bypass those restrictions over the network to view server log and server config.json file contents, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:27Z"},"euvd":{"id":"EUVD-2022-1816","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-11776","published":"2025-11-14","fixed":"5.3.2-0.20250815165020-c8d66301415d","kev":false},{"cve":"CVE-2025-11777","published":"2025-11-13","fixed":"5.3.2-0.20250905150616-ba86dfc5876b","kev":false},{"cve":"CVE-2020-14457","published":"2020-06-19","fixed":"5.20.0","kev":false,"link":{"from":"CVE-2020-14457","to":"CVE-2022-1332","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server/v5","fromFixed":"5.20.0","toFixed":"5.37.9","daysApart":663}]}},{"cve":"CVE-2022-1332","published":"2022-04-13","fixed":"5.37.9","kev":false},{"cve":"CVE-2021-37860","published":"2021-09-22","fixed":"5.39.0","kev":false},{"cve":"CVE-2023-1774","published":"2023-03-31","fixed":"7.1.6","kev":false},{"cve":"CVE-2023-1775","published":"2023-03-31","fixed":"7.1.6","kev":false}],"package":"Go:github.com/mattermost/mattermost-server/v5"}}