CVE-2017-18874
Vulnerability Summary
Timeline
Description
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 achieve directory traversal.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- v2.0•MEDIUM•Score: 5.5AV:N/AC:L/Au:S/C:P/I:P/A:N
EPSS Trends
Current EPSS score: 0.49%• Percentile: 66%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- github.com/mattermost•mattermost-server
< 4.1.2-0.20171004201910-6be8113eb60 | ≥ 4.2.0-rc1, < 4.2.1-0.20171004194140-6d3cb2ce07fc | ≥ 4.3.0-rc1, < 4.3.0 | ≥ 4.3.0-rc1+incompatible, < 4.3.0+incompatible
- mattermost•mattermost_server
< 4.1.2 | ≥ 4.2.0, < 4.2.1 | 4.3.0:rc1 | 4.3.0:rc2 | 4.3.0:rc3 | 4.3.0:rc4
References (8)
- https://mattermost.com/security-updates/
- https://nvd.nist.gov/vuln/detail/CVE-2017-18874
- 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
- https://github.com/advisories/GHSA-8qg8-c7mw-6fj7