Admin RCE via prepackaged plugins by way of misconfigured imports directory
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
≥ 10.8.0+incompatible · < 10.8.4+incompatible≥ 10.9.0+incompatible · < 10.9.4+incompatible≥ 10.10.0+incompatible · < 10.10.2+incompatible
|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.10.x <= 10.10.1, 10.9.x <= 10.9.3 fail to validate import directory path configuration which allows admin users to execute arbitrary code via malicious plugin upload to prepackaged plugins directory
From the CVE record · Mattermost
Affected Mattermost versions fail to validate the configured import directory path. An authenticated admin can exploit this by uploading a malicious plugin to the prepackaged plugins directory and executing arbitrary code.
Operators of Mattermost 9.11.x through 9.11.17, 10.5.x through 10.5.8, 10.8.x through 10.8.3, 10.9.x through 10.9.3, or 10.10.x through 10.10.1, and users of the affected Go packages, should check their installations.