CVE-2023-2783 App Framework does not checks for the secret provided in the incoming webhook request

Medium 4.3 Published Updated

Attackers can modify post contents in Mattermost Apps Framework due to missing verification of webhook secrets.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-2783?

CVE-2023-2783 is a medium-severity missing authorization vulnerability in Mattermost Mattermost, published on 16 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost Apps Framework fails to verify that a secret provided in the incoming webhook request allowing an attacker to modify the contents of the post sent by the Apps.

Weakness: CWE-862

Which versions are affected by CVE-2023-2783?

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

PackageAffectedFixed in
github.com/mattermost/mattermost-server/v6 GoAll versions6.0.0-20230511130429-1629a6ca7fed
github.com/mattermost/mattermost-server/v6 GoAll versions6.0.0-20230511130429-1629a6ca7fed
github.com/mattermost/mattermost-server/v6 GoFrom 6.0.07.8.5
github.com/mattermost/mattermost-server/v6 GoFrom 6.0.07.8.5
github.com/mattermost/mattermost-server/v6 GoFrom 7.10.07.10.1
github.com/mattermost/mattermost-server/v6 GoFrom 7.10.07.10.1
2 more packages
github.com/mattermost/mattermost-server/v6 GoFrom 7.9.07.9.4
github.com/mattermost/mattermost-server/v6 GoFrom 7.9.07.9.4

Products include Mattermost Mattermost.

How do I fix CVE-2023-2783?

Upgrade github.com/mattermost/mattermost-server/v6 to a fixed version for your release line: 6.0.0-20230511130429-1629a6ca7fed, 7.8.5, 7.10.1 or 7.9.4.

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

Is CVE-2023-2783 being exploited?

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

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-455c-vqrf-mghr.

Is CVE-2023-2783 in your software?

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

Check your SBOMs for free