1. Archivio CVE
  2. 2023
  3. CVE-2023-0046

CVE-2023-0046

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

Descrizione

Improper Restriction of Names for Files and Other Resources in GitHub repository lirantal/daloradius prior to master-branch.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
daloradius daloradius < 2023-01-04 –

Tipo di vulnerabilità

CWE-641 Improper Restriction of Names for Files and Other Resources

The product constructs the name of a file or other resource using input from an upstream component, but it does not restrict or incorrectly restricts the resulting name.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati
Riservatezza, Disponibilità Leggere i dati dell’applicazione, Interruzione del servizio: arresto o riavvio

Come si previene

Architettura e progettazione Do not allow users to control names of resources used on the server side.
Architettura e progettazione Perform allowlist input validation at entry points and also before consuming the resources. Reject bad file names rather than trying to cleanse them.
Architettura e progettazione Make sure that technologies consuming the resources are not vulnerable (e.g. buffer overflow, format string, etc.) in a way that would allow code execution if the name of the resource is malformed.

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

Tutte le 14 CVE di tipo CWE-641, con andamento e prevenzione

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