1. Archivio CVE
  2. 2025
  3. CVE-2025-31363

CVE-2025-31363

6.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 6.5 – Media

Descrizione

Mattermost versions 10.4.x <= 10.4.2, 10.5.x <= 10.5.0, 9.11.x <= 9.11.9 fail to restrict domains the LLM can request to contact upstream which allows an authenticated user to exfiltrate data from an arbitrary server accessible to the victim via performing a prompt injection in the AI plugin's Jira tool.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
mattermost mattermost server >= 9.11.0 < 9.11.10 –
mattermost mattermost server >= 10.4.0 < 10.4.3 –
mattermost mattermost server 10.5.0 –
Tutte le 506 vulnerabilità di Mattermost Server

Tipo di vulnerabilità

CWE-1426 Improper Validation of Generative AI Output

The product invokes a generative AI/ML component whose behaviors and outputs cannot be directly controlled, but the product does not validate or insufficiently validates the outputs to ensure that they align with the intended security, content, or privacy policy.

Impatto sui sistemi

AmbitoImpatto
Integrità Eseguire codice o comandi non autorizzati, Dipende dal contesto

Come si previene

Architettura e progettazione Since the output from a generative AI component (such as an LLM) cannot be trusted, ensure that it operates in an untrusted or non-privileged space.
Esercizio Use semantic comparators, which are mechanisms that provide semantic comparison to identify objects that might appear different but are semantically similar.
Esercizio Use components that operate externally to the system to monitor the output and act as a moderator. These components are called different terms, such as supervisors or guardrails.
Build e compilazione During model training, use an appropriate variety of good and bad examples to guide preferred outputs.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 2 CVE di tipo CWE-1426, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org