1. Archivio CVE
  2. 2026
  3. CVE-2026-120730

CVE-2026-120730

8.6 Gravità alta CVSS v4.0 · fonte NVD CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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.6 – Alta

Descrizione

Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in the device API, device forms, signing key and product forms and JITP settings in nerves-hub nerves_hub_web allows an authenticated user who manages devices in any organization to write into other organizations via submitted org_id, product_id and deployment_id fields. The device API create and update actions and the dashboard device forms pass the request parameters to NervesHub.Devices.Device.changeset/2, which casts the organization, product, deployment group and update state as given. The signing key and product forms merge the session's organization into the submitted parameters so that a submitted org_id wins, and the JITP changeset accepts any product_id. Each request requires the manage role only in the user's own organization, and any account can create one. A device placed on another organization's deployment group, or moved into its product, is sent that organization's firmware with a download URL. The user cannot change or control devices that already belong to the other organization, and cannot upload firmware to it. This issue affects nerves_hub: from 1.0.0 before 2.5.3.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
nerves-hub nerves hub web >= 1.0.0 < 2.5.3 –

Tipo di vulnerabilità

CWE-639 Aggiramento dell’autorizzazione tramite una chiave controllata dall’utente (IDOR)

Il controllo delle autorizzazioni non impedisce a un utente di accedere ai dati o ai record di un altro semplicemente cambiando l’identificativo che li richiama.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione
È possibile aggirare i controlli di accesso su dati o funzioni specifici di un utente.
Controllo degli accessi Ottenere privilegi o assumere un’altra identità
È possibile un’escalation orizzontale dei privilegi: un utente può vedere o modificare le informazioni di un altro.
Controllo degli accessi Ottenere privilegi o assumere un’altra identità
È possibile un’escalation verticale dei privilegi se la chiave controllata dall’utente è in realtà un indicatore del ruolo di amministratore: l’attaccante ottiene così l’accesso amministrativo.

Come si previene

Architettura e progettazione Per ogni accesso ai dati, verifica che l’utente abbia i privilegi necessari per accedere al record richiesto.
Architettura e progettazione · Sviluppo Assicurati che la chiave usata per cercare il record di un utente non possa essere controllata dall’esterno, o che ogni manomissione venga rilevata.
Architettura e progettazione Usa la cifratura per rendere più difficile indovinare altri valori validi della chiave, oppure associa alla chiave una firma digitale, così che il server possa verificare che non sia stata manomessa.

Tutte le 3.551 CVE di tipo CWE-639, con andamento e prevenzione

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