VDB
Sign up
MEDIUM4.6

GHSA-762g-9p7f-mrww

Mattermost Server Path Traversal vulnerability that leads to Cross-Site Request Forgery

Quick fix

GHSA-762g-9p7f-mrww — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.

go get github.com/mattermost/mattermost/server/v8@v8.0.0-20240926115259-20ed58906adc

Details

Mattermost versions 9.10.x <= 9.10.2, 9.11.x <= 9.11.1, 9.5.x <= 9.5.9 fail to sanitize user inputs in the frontend that are used for redirection which allows for a one-click client-side path traversal that is leading to CSRF in Playbooks

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/mattermost/mattermost/server/v8
Introduced in: 0Fixed in: 8.0.0-20240926115259-20ed58906adc
Fixgo get github.com/mattermost/mattermost/server/v8@v8.0.0-20240926115259-20ed58906adc

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/mattermost/mattermost/server/v8"]}'