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

CVE-2024-12570

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

Descrizione

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7 prior to 17.4.6, from 17.5 prior to 17.5.4, and from 17.6 prior to 17.6.2. It may have been possible for an attacker with a victim's `CI_JOB_TOKEN` to obtain a GitLab session token belonging to the victim.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
gitlab gitlab >= 13.7.0 < 17.4.6 –
gitlab gitlab >= 13.7.0 < 17.4.6 –
gitlab gitlab >= 17.5.0 < 17.5.4 –
gitlab gitlab >= 17.5.0 < 17.5.4 –
gitlab gitlab >= 17.6.0 < 17.6.2 –
gitlab gitlab >= 17.6.0 < 17.6.2 –
Tutte le 1.558 vulnerabilità di Gitlab

Tipo di vulnerabilità

CWE-270 Privilege Context Switching Error

The product does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione · Esercizio Gestisci con molta attenzione l’assegnazione e l’uso dei privilegi, e definisci in modo esplicito le zone di fiducia del software.
Architettura e progettazione · Esercizio · Hardening dell’ambiente Run your code using the lowest privileges that are required to accomplish the necessary tasks. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.
Architettura e progettazione · Separazione dei privilegi Valuta il principio della separazione dei privilegi: richiedi che siano soddisfatte più condizioni prima di concedere l’accesso a una risorsa del sistema.

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

Tutte le 22 CVE di tipo CWE-270, con andamento e prevenzione

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