CVE-2025-4573 LDAP Injection in Mattermost Enterprise Edition When Using Active Directory
MediumCVSS 4.1
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
4 packages: 3 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0+incompatible, < 9.11.14+incompatible; >= 9.11.0, < 9.11.14; >= 10.5.0+incompatible, < 10.5.5+incompatible; >= 10.5.0, < 10.5.5 +5 more | 9.11.14, 9.11.14+incompatible, 10.5.5, 10.5.5+incompatible, 10.6.4, 10.6.4+incompatible, 10.7.2, 10.7.2+incompatible | Partially fixed |
| Mattermost | >= 9.11.0, <= 9.11.13; >= 10.5.0, <= 10.5.4; >= 10.6.0, <= 10.6.3; >= 10.7.0, <= 10.7.1 | after 9.11.13, 10.5.4, 10.6.3, 10.7.1 | Fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20250414112942-77892234944b | 8.0.0-20250414112942-77892234944b | Fixed |
| mattermost server | >= 9.11.0, < 9.11.14; >= 10.5.0, < 10.5.5; >= 10.6.0, < 10.6.4; >= 10.7.0, < 10.7.2 | 9.11.14, 10.5.5, 10.6.4, 10.7.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20250414112942-77892234944b | 8.0.0-20250414112942-77892234944b |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.7.0, < 10.7.2 | 10.7.2 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.6.0, < 10.6.4 | 10.6.4 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0, < 10.5.5 | 10.5.5 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0, < 9.11.14 | 9.11.14 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0+incompatible, < 9.11.14+incompatible | 9.11.14+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0+incompatible, < 10.5.5+incompatible | 10.5.5+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.6.0+incompatible, < 10.6.4+incompatible | 10.6.4+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.7.0+incompatible, < 10.7.2+incompatible | 10.7.2+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost | >= 10.7.0, <= 10.7.1 | No fix listed |
| Mattermost | >= 10.6.0, <= 10.6.3 | No fix listed |
| Mattermost | >= 10.5.0, <= 10.5.4 | No fix listed |
| Mattermost | >= 9.11.0, <= 9.11.13 | No fix listed |
| mattermost server | >= 9.11.0, < 9.11.14 | 9.11.14 |
| mattermost server | >= 10.5.0, < 10.5.5 | 10.5.5 |
| mattermost server | >= 10.6.0, < 10.6.4 | 10.6.4 |
| mattermost server | >= 10.7.0, < 10.7.2 | 10.7.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com product
- mattermost.com vendor-advisory
- github.com vendor-advisory