GitHub Advisory Database
GHSA-9rr5-q43r-ccv4
Mattermost Server does not prevent System Admin from arbitrary file creation
Details
An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2 when local storage for files is used. A System Admin can create arbitrary files.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost-server | All versions before 4.1.2-0.20171004201910-6be8113eb60c (fixed in 4.1.2-0.20171004201910-6be8113eb60c) |
| Go | github.com/mattermost/mattermost-server | From 4.2.0-rc1.0.20171004154238-fadd9514f6e7 before 4.2.1-0.20171004194140-6d3cb2ce07fc (fixed in 4.2.1-0.20171004194140-6d3cb2ce07fc) |
| Go | github.com/mattermost/mattermost-server | From 4.3.0-rc1 before 4.3.0 (fixed in 4.3.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18875
- https://github.com/mattermost/mattermost/commit/6be8113eb60cf5ddd2dc1c3f4db05cae0c183086
- https://github.com/mattermost/mattermost/commit/6d3cb2ce07fc799832081e93843b405b390057fa
- https://github.com/mattermost/mattermost/commit/fadd9514f6e71590aba781a7035e1de4150137b0
- https://github.com/mattermost/mattermost
- https://mattermost.com/security-updates