1. Archivio CVE
  2. 2024
  3. CVE-2024-8550

CVE-2024-8550

7.5 Gravità alta CVSS v3.0 · fonte NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 7.5 – Alta

Descrizione

A Local File Inclusion (LFI) vulnerability exists in the /load-workflow endpoint of modelscope/agentscope version v0.0.4. This vulnerability allows an attacker to read arbitrary files from the server, including sensitive files such as API keys, by manipulating the filename parameter. The issue arises due to improper sanitization of user input passed to the os.path.join function, which can be exploited to access files outside the intended directory.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
modelscope agentscope 0.0.4 –
Tutte le 13 vulnerabilità di Modelscope Agentscope

Tipo di vulnerabilità

CWE-497 Esposizione di informazioni di sistema a soggetti non autorizzati

Il prodotto non impedisce che informazioni sensibili sul sistema siano accessibili a soggetti che non hanno lo stesso livello di accesso.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Architettura e progettazione · Sviluppo Production applications should never use methods that generate internal details such as stack traces and error messages unless that information is directly committed to a log that is not viewable by the end user. All error message text should be HTML entity encoded before being written to the log file to protect against potential cross-site scripting attacks against the viewer of the logs

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

Tutte le 445 CVE di tipo CWE-497, con andamento e prevenzione

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