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

CVE-2024-0200

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

Descrizione

An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. This vulnerability could lead to the execution of user-controlled methods and remote code execution. To exploit this bug, an actor would need to be logged into an account on the GHES instance with the organization owner role. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.12 and was fixed in versions 3.8.13, 3.9.8, 3.10.5, and 3.11.3. This vulnerability was reported via the GitHub Bug Bounty program.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
github enterprise server >= 3.8.0 < 3.8.13 –
github enterprise server >= 3.9.0 < 3.9.8 –
github enterprise server >= 3.10.0 < 3.10.5 –
github enterprise server >= 3.11.0 < 3.11.3 –
Tutte le 140 vulnerabilità di Github Enterprise Server

Tipo di vulnerabilità

CWE-470 Use of Externally-Controlled Input to Select Classes or Code

The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.

Impatto sui sistemi

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

Come si previene

Architettura e progettazione Refactor your code to avoid using reflection.
Architettura e progettazione Do not use user-controlled inputs to select and load classes or code.
Sviluppo Apply strict input validation by using allowlists or indirect selection to ensure that the user is only selecting allowable classes or code.

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

Tutte le 146 CVE di tipo CWE-470, con andamento e prevenzione

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