Descrizione
When the setting for saving requests to non-existent pages (404) is enabled, JTL-Shop stores the raw requested URL in its redirect table, and the administration backend renders it without output encoding in the form used to edit a redirect. An unauthenticated remote attacker can store script code with a single request, which is executed in the browser session of an administrator who opens the affected redirect, allowing actions to be performed with the administrator's privileges. The setting is disabled by default in new installations but may still be enabled in older ones.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.0, EPSS 0.2% (percentile 15).
Versioni da aggiornare
- JTL-Software GmbH JTL-Shop: vulnerabili le versioni dalla
5.8.0precedenti alla5.8.4→ aggiornare alla5.8.4o successiva. - JTL-Software GmbH JTL-Shop: vulnerabili le versioni dalla
5.7.0precedenti alla5.7.6→ aggiornare alla5.7.6o successiva. - JTL-Software GmbH JTL-Shop: vulnerabili le versioni dalla
5.6.0precedenti alla5.6.6→ aggiornare alla5.6.6o successiva. - JTL-Software GmbH JTL-Shop: vulnerabili le versioni dalla
5.5.0precedenti alla5.5.5→ aggiornare alla5.5.5o successiva.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
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.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| JTL-Software GmbH | JTL-Shop | ≥ 5.8.0 < 5.8.4 | 5.8.4 |
| JTL-Software GmbH | JTL-Shop | ≥ 5.7.0 < 5.7.6 | 5.7.6 |
| JTL-Software GmbH | JTL-Shop | ≥ 5.6.0 < 5.6.6 | 5.6.6 |
| JTL-Software GmbH | JTL-Shop | ≥ 5.5.0 < 5.5.5 | 5.5.5 |