CVE-2022-1384 Authorized users are allowed to install old plugin versions from the Marketplace

Medium 4.7 Published Updated

Authorized users can install vulnerable old plugin versions from the Marketplace, potentially leading to code execution or security bypasses.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-1384?

CVE-2022-1384 is a medium-severity missing authorization vulnerability in Mattermost Mattermost Server, published on 19 Apr 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Mattermost version 6.4.x and earlier fails to properly check the plugin version when a plugin is installed from the Marketplace, which allows an authenticated and an authorized user to install and exploit an old plugin version from the Marketplace which might have known vulnerabilities.

Weakness: CWE-862, CWE-477

Which versions are affected by CVE-2022-1384?

6 open source packages ship an affected version, including github.com/mattermost/mattermost-server/v6, mattermost and github.com/mattermost/mattermost-server. It affects 1 product.

PackageAffectedFixed in
github.com/mattermost/mattermost-server/v6 GoFrom 6.4.06.5.0
github.com/mattermost/mattermost-server/v6 GoFrom 6.4.06.5.0
github.com/mattermost/mattermost-server/v6 GoFrom 6.4.06.5.0
mattermost BitnamiAll versions6.5.0
github.com/mattermost/mattermost-server GoAll versionsNone
github.com/mattermost/mattermost-server/v5 GoAll versionsNone

Products include Mattermost Mattermost Server.

How do I fix CVE-2022-1384?

Upgrade github.com/mattermost/mattermost-server/v6 to 6.5.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-1384 being exploited?

There is no known exploitation of CVE-2022-1384 in the wild and no public exploit code.

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as BIT-mattermost-2022-1384, GHSA-32rp-q37p-jg6w, GO-2022-0576.

Is CVE-2022-1384 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free