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

CVE-2026-84176

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

Descrizione

Permissive Cross-domain Policy with Untrusted Domains vulnerability in Apache Camel Platform HTTP Vertx component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. createCorsHandler() set Access-Control-Allow-Credentials: true outside the origin check, so the header went out on every response to a request carrying an Origin header, including responses to origins the handler had just decided not to allow. When camel.server.cors.origins is unset, the handler treats every origin as allowed and echoes the caller's own Origin back as Access-Control-Allow-Origin. Together those produce the credentialed any-origin configuration that the fetch specification refuses to express as a literal wildcard, which is precisely why reflecting the origin is the usual way around that rule. A page on any origin could therefore make credentialed cross-origin requests to the Camel endpoint and read the responses. Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. Access-Control-Allow-Credentials is now sent only when the request origin matched an origin the operator actually configured. With no origin list the origin is still reflected, as before, but credentials are not granted, and Vary: Origin is now set whenever the origin is reflected so that a shared cache cannot serve one origin's response to another. For deployments that cannot upgrade immediately, set camel.server.cors.origins to the explicit list of origins that need access rather than leaving it unset.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apache camel >= 4.0.0 < 4.18.5 –
apache camel >= 4.19.0 < 4.22.1 –
Tutte le 117 vulnerabilità di Apache Camel

Tipo di vulnerabilità

CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains

The product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità, Controllo degli accessi Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione, Leggere i dati dell’applicazione, Dipende dal contesto

Come si previene

Architettura e progettazione · Esercizio · Riduzione della superficie di attacco Define a restrictive Content Security Policy or cross-domain policy file.
Architettura e progettazione · Esercizio · Riduzione della superficie di attacco Avoid using wildcards in the CSP / cross-domain policy file. Any domain matching the wildcard expression will be implicitly trusted, and can perform two-way interaction with the target server.
Architettura e progettazione · Esercizio · Hardening dell’ambiente For Flash, modify crossdomain.xml to use meta-policy options such as 'master-only' or 'none' to reduce the possibility of an attacker planting extraneous cross-domain policy files on a server.

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

Tutte le 97 CVE di tipo CWE-942, con andamento e prevenzione

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