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

CVE-2025-49006

8.2 Gravità alta CVSS v4.0 · fonte NVD CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 8.2 – Alta

Descrizione

Wasp (Web Application Specification) is a Rails-like framework for React, Node.js, and Prisma. Prior to version 0.16.6, Wasp authentication has a vulnerability in the OAuth authentication implementation (affecting only Keycloak with a specific config). Wasp currently lowercases OAuth user IDs before storing / fetching them. This behavior violates OAuth and OpenID Connect specifications and can result in user impersonation, account collisions, and privilege escalation. In practice, out of the OAuth providers that Wasp auth supports, only Keycloak is affected. Keycloak uses a lowercase UUID by default, but users can configure it to be case sensitive, making it affected. Google, GitHub, and Discord use numerical IDs, making them not affected. Users should update their Wasp version to `0.16.6` which has a fix for the problematic behavior. Users using Keycloak can work around the issue by not using a case sensitive user ID in their realm configuration.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
wasp-lang wasp < 0.16.6 –

Tipo di vulnerabilità

CWE-276 Permessi predefiniti errati

Durante l’installazione i file vengono creati con permessi che consentono a chiunque di modificarli.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità Leggere i dati dell’applicazione, Modificare i dati dell’applicazione

Come si previene

Architettura e progettazione · Esercizio The architecture needs to access and modification attributes for files to only those users who actually require those actions.
Architettura e progettazione · Separazione dei privilegi Suddividi il sistema in compartimenti, con aree sicure i cui confini di fiducia siano tracciati senza ambiguità. Non lasciare uscire i dati sensibili da questi confini e presta sempre attenzione quando interagisci con un compartimento esterno all’area sicura. La suddivisione va prevista già in fase di progettazione e deve favorire la separazione dei privilegi; per decidere quando usare i privilegi e quando rinunciarvi, segui il principio del privilegio minimo.

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

Tutte le 1.555 CVE di tipo CWE-276, con andamento e prevenzione

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