LDAP Injection in Mattermost Enterprise Edition When Using Active Directory
Mattermost
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
Mattermost versions 10.7.x <= 10.7.1, 10.6.x <= 10.6.3, 10.5.x <= 10.5.4, 9.11.x <= 9.11.13 fail to properly validate LDAP group ID attributes, allowing an authenticated administrator with PermissionSysconsoleWriteUserManagementGroups permission to execute LDAP search filter injection via the PUT /api/v4/ldap/groups/{remote_id}/link API when objectGUID is configured as the Group ID Attribute.
From the CVE record · Mattermost
Mattermost does not properly validate LDAP group ID attributes. An authenticated administrator with PermissionSysconsoleWriteUserManagementGroups permission can inject an LDAP search filter through the group-linking API when objectGUID is configured as the Group ID Attribute.
Teams running Mattermost 10.7.x through 10.7.1, 10.6.x through 10.6.3, 10.5.x through 10.5.4, or 9.11.x through 9.11.13, or using the listed affected Go packages, should check their deployments.