Descrizione
X-Road is open-source data exchange layer software. Prior to 7.8.2 and 7.7.3, the Configuration Proxy uses attacker-controlled Content-location metadata from a validly signed federated global configuration part when constructing an output path without verifying that the resulting path remains inside the intended configuration output directory. A malicious or compromised federated ecosystem can provide an absolute path or directory traversal sequence during the normal refresh cycle, causing the Configuration Proxy to create a new file with attacker-controlled content under the permissions of the non-privileged xroad process. The vulnerability can poison downstream global configuration or create files in other writable locations, but it does not overwrite existing files. This issue is fixed in versions 7.8.2 and 7.7.3.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.6, EPSS 0.7% (percentile 54).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Filtrare le sequenze di path traversal sul reverse proxy/WAF ed eseguire il servizio con permessi minimi sul filesystem.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Riferimenti
- Riferimentohttps://github.com/nordic-institute/X-Road/commit/6425df49c173f915c6b450f5559b2fb185a68def
- Riferimentohttps://github.com/nordic-institute/X-Road/commit/c528666afbe61d36f8b73ad9a4afe6fdaf5fd573
- Riferimentohttps://github.com/nordic-institute/X-Road/pull/3634
- Riferimentohttps://github.com/nordic-institute/X-Road/releases/tag/7.7.3
- Riferimentohttps://github.com/nordic-institute/X-Road/releases/tag/7.8.2
- Riferimentohttps://github.com/nordic-institute/X-Road/security/advisories/GHSA-hqh5-8gwp-w8qw
- Riferimentohttps://github.com/nordic-institute/X-Road/security/advisories/GHSA-hqh5-8gwp-w8qw