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

CVE-2026-105927

2.3 Gravità bassa CVSS v4.0 · fonte NVD CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/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 2.3 – Bassa

Descrizione

The Apache Pulsar WebSocket service allows a WebSocket consumer to configure a dead letter policy through query parameters of the consumer endpoint, including the deadLetterTopic parameter that names the topic to which messages are written after the maximum number of redeliveries is exceeded. When authorization is enabled, the WebSocket service checks only that the connecting user holds the CONSUME permission on the subscribed topic. It does not check whether the user holds the PRODUCE permission on the topic named in deadLetterTopic. The dead letter messages are then written by the WebSocket service using its own broker client identity rather than the identity of the connecting user. As a result, an authenticated user who holds the CONSUME permission on at least one topic can cause messages to be written to a topic of their choosing in any existing namespace, including namespaces belonging to other tenants, provided the role used by the WebSocket service to connect to the brokers is authorized to produce to that topic and the topic accepts a producer that registers no schema. The dead letter producer created by the WebSocket service registers no schema, so it is rejected when the target topic has a schema and schema validation is enforced for that topic or its namespace; this setting is not enabled by default. The same user is refused when attempting to produce to that topic directly. Where automatic topic creation is enabled, which is the default, the named topic is created if it does not already exist. The issue can only be triggered when the WebSocket service is enabled, either in the broker (webSocketServiceEnabled, which is disabled by default) or as a standalone WebSocket proxy. The impact is unauthorized injection of messages into topics the user is not permitted to produce to. The user can determine the content of the injected messages when they also control the messages on the subscribed topic. The issue does not allow reading, modifying or deleting existing messages in the target topic. Injected messages carry the dead letter message properties and a dead letter producer name, so they can be distinguished from messages produced normally; however, the values of these properties are not authenticated and should not be relied upon to establish the origin of a message. Whether an injected message has further consequences depends on how the applications consuming the target topic process it. Repeated injection also consumes storage and backlog capacity in the target namespace. This issue affects Apache Pulsar versions from 2.3.0 before 4.0.14 and from 4.1.0 before 4.2.5. - 4.0.x version users should upgrade to at least 4.0.14. - 4.1.x and 4.2.x version users should upgrade to at least 4.2.5. Users operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions. The currently supported Apache Pulsar release lines are 4.0.x and 5.0.x. The supported versions schedule is available at https://pulsar.apache.org/contribute/release-policy/. Users who cannot upgrade immediately and do not require the WebSocket service should disable it. Where the WebSocket service is required, restricting network access to it and limiting the permissions granted to the role the WebSocket service uses to connect to the brokers to the namespaces WebSocket clients are intended to access reduces the exposure.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apache software foundation apache pulsar >= 2.3.0 < 4.0.14 –
apache software foundation apache pulsar >= 4.1.0 < 4.2.5 –
Tutte le 14 vulnerabilità di Apache Software Foundation Apache Pulsar

Tipo di vulnerabilità

CWE-863 Autorizzazione errata

Il prodotto verifica l’autorizzazione quando un soggetto tenta di accedere a una risorsa o di compiere un’azione, ma esegue il controllo in modo errato.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione, Leggere file o cartelle
Un attaccante può aggirare le restrizioni di accesso e leggere dati sensibili, direttamente da un archivio di dati non protetto correttamente oppure tramite funzioni privilegiate protette in modo insufficiente.
Integrità Modificare i dati dell’applicazione, Modificare file o cartelle
Un attaccante può aggirare le restrizioni di accesso e modificare dati sensibili, scrivendoli direttamente in un archivio di dati non protetto correttamente oppure tramite funzioni privilegiate protette in modo insufficiente.
Controllo degli accessi Ottenere privilegi o assumere un’altra identità, Aggirare i meccanismi di protezione
Un attaccante può aggirare le restrizioni di accesso e ottenere privilegi, modificando o leggendo direttamente dati critici oppure accedendo a funzioni privilegiate.
Riservatezza, Integrità, Disponibilità Eseguire codice o comandi non autorizzati
Un attaccante può usare i privilegi ottenuti per eseguire comandi o codice non autorizzati.
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse
Un attaccante può accedere senza autorizzazione a risorse del sistema e consumarle in modo eccessivo, fino a interrompere il servizio.

Come si previene

Architettura e progettazione Dividi il prodotto in aree anonime, normali, privilegiate e amministrative. Riduci la superficie di attacco associando con cura ruoli, dati e funzioni, e usa un controllo degli accessi basato sui ruoli (RBAC) per far rispettare i ruoli nei punti giusti. Questo approccio non protegge dall’accesso «orizzontale»: non impedisce a un utente di attaccare altri utenti con lo stesso ruolo.
Architettura e progettazione Esegui controlli degli accessi legati alla logica di business, che possono essere diversi da quelli applicati a risorse più generiche come file, connessioni, processi, memoria e record del database. Per esempio, un database può limitare l’accesso alle cartelle cliniche a uno specifico utente del database, ma ogni cartella dovrebbe essere accessibile solo al paziente e al suo medico.
Architettura e progettazione · Librerie o framework Usa una libreria o un framework collaudato che non permetta questo tipo di errore o che renda più facile evitarlo. Per esempio, valuta framework di autorizzazione come JAAS Authorization Framework e la funzione Access Control di OWASP ESAPI.
Architettura e progettazione Nelle applicazioni web, verifica che il controllo degli accessi sia applicato correttamente lato server su ogni pagina: gli utenti non devono poter raggiungere funzioni o informazioni non autorizzate semplicemente richiedendo la pagina direttamente. Un modo per farlo è non mettere in cache le pagine con informazioni sensibili e consentirne l’accesso solo alle richieste accompagnate da un token di sessione attivo e autenticato, associato a un utente con i permessi necessari.
Configurazione del sistema · Installazione Usa le funzioni di controllo degli accessi del sistema operativo e del server e definisci di conseguenza le liste di controllo degli accessi (ACL), partendo da una politica di negazione predefinita.

Tutte le 4.971 CVE di tipo CWE-863, con andamento e prevenzione

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