PoC Monitor
← All CVEs
CVE-2025-25279published 24 Feb 2025 07:25 UTCData: JSON · API

Mattermost

Arbitrary file read in Mattermost Boards via import & export board archive

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate board blocks when importing boards which allows an attacker could read any arbitrary file on the system via importing and exporting a specially crafted import archive in Boards.

First public PoC 12 hafter publication · 24 Feb 2025
Public PoCs22 on GitHub
CVSS9.9critical · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Mattermost Mattermost
  • >= 10.4.0, <= 10.4.1
  • >= 9.11.0, <= 9.11.7
  • >= 10.3.0, <= 10.3.2
  • >= 10.2.0, <= 10.2.2

Fixed in 10.5.0, 10.4.2, 9.11.8, 10.3.3, 10.2.3

Mitigation

Update Mattermost to versions 10.5.0, 10.4.2, 9.11.8, 10.3.3, 10.2.3 or higher. Alternatively, update the Mattermost Boards plugin to v9.0.5 or higher.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published24 Feb 2025 · t = 0First public PoC24 Feb 2025 · t+12h

First public PoC 12 h after publication; not in CISA KEV. First PoC: numanturle/CVE-2025-25279 (created 24 Feb 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
numanturle/CVE-2025-25279 24 Feb 2025 +12 h 4 PoC via PoC Index
AbokorMAHAMMADMOUSSE/CVE-2025-25279-Mattermost-Path-Traversal 24 Apr 2026 +1.2 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks

Key headers
Accept: application/json Accept-Language: en-US,en;q=0.9 Authorization: Origin: http://localhost:8065 X-Requested-With: XMLHttpRequest
Body markers
"id":"7gni7t3q3gj6unkq49mpb3xzdre" "schema" "boardId":"bqgcxem5wo3ncfxkbfn5rkawxcr" "parentId":"crc1qdykm1pg4mbfpct45qnyorw" "createdBy" "modifiedBy" "type":"attachment" "fields" "fileId":"../../../../../../../mattermost/config/config.json" "title":"CVE-2025-25279.txt" "createAt" "updateAt" "deleteAt" "limited" "isUploading" "uploadingPercent" in application/json
Ports
8065
PoC User-Agent
Mozilla/5.0
Seen in
1 repo: numanturle/CVE-2025-25279
Evidence
numanturle/CVE-2025-25279/readme.md:25

POST /plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks/crc1qdykm1pg4mbfpct45qnyorw/duplicate

Query
asTemplate=false
Key headers
Accept: application/json Accept-Language: en-US,en;q=0.9 Authorization: Origin: http://localhost:8065 X-Requested-With: XMLHttpRequest
Content-Type
application/json
Ports
8065
PoC User-Agent
Mozilla/5.0
Seen in
1 repo: numanturle/CVE-2025-25279
Evidence
numanturle/CVE-2025-25279/readme.md:41

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks
(?i)^/plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks(?:[?#].*)?$
POST /plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks/crc1qdykm1pg4mbfpct45qnyorw/duplicate
(?i)^/plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks/crc1qdykm1pg4mbfpct45qnyorw/duplicate\?(?:.*&)?asTemplate=false

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks
alert http any any -> $HOME_NET [8065] (msg:"GG PoC-Monitor CVE-2025-25279 Mattermost Mattermost exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.9"; nocase; http.header_names; content:"Authorization"; nocase; http.header; content:"Origin: http://localhost:8065"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"|22|id|22|:|22|7gni7t3q3gj6unkq49mpb3xzdre|22|"; http.request_body; content:"|22|schema|22|"; http.request_body; content:"|22|boardId|22|:|22|bqgcxem5wo3ncfxkbfn5rkawxcr|22|"; http.request_body; content:"|22|parentId|22|:|22|crc1qdykm1pg4mbfpct45qnyorw|22|"; http.request_body; content:"|22|createdBy|22|"; http.request_body; content:"|22|modifiedBy|22|"; http.request_body; content:"|22|type|22|:|22|attachment|22|"; http.request_body; content:"|22|fields|22|"; http.request_body; content:"|22|fileId|22|:|22|../../../../../../../mattermost/config/config.json|22|"; http.request_body; content:"|22|title|22|:|22|CVE-2025-25279.txt|22|"; http.request_body; content:"|22|createAt|22|"; http.request_body; content:"|22|updateAt|22|"; http.request_body; content:"|22|deleteAt|22|"; http.request_body; content:"|22|limited|22|"; http.request_body; content:"|22|isUploading|22|"; http.request_body; content:"|22|uploadingPercent|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-25279; classtype:web-application-attack; sid:9044940; rev:1;)
POST /plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks/crc1qdykm1pg4mbfpct45qnyorw/duplicate
alert http any any -> $HOME_NET [8065] (msg:"GG PoC-Monitor CVE-2025-25279 Mattermost Mattermost exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks/crc1qdykm1pg4mbfpct45qnyorw/duplicate"; http.uri; content:"asTemplate=false"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.9"; nocase; http.header_names; content:"Authorization"; nocase; http.header; content:"Origin: http://localhost:8065"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-25279; classtype:web-application-attack; sid:9247961; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks
title: Mattermost Mattermost exploit attempt (CVE-2025-25279)
id: gg-pocmon-cve-2025-25279-9044940
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25279. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25279
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25279
POST /plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks/crc1qdykm1pg4mbfpct45qnyorw/duplicate
title: Mattermost Mattermost exploit attempt (CVE-2025-25279)
id: gg-pocmon-cve-2025-25279-9247961
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25279. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25279
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks/crc1qdykm1pg4mbfpct45qnyorw/duplicate'
    cs-uri-query|contains|all:
      - 'asTemplate=false'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25279