Descrizione

Nmap before 7.992 contains a server-side request forgery vulnerability in the broadcast-upnp-info.nse script and the upnp.lua library, which fetch the device description from the LOCATION URL in a UPnP response without checking that it points to the responding host. An attacker on the local network who answers the script's discovery broadcast can supply a LOCATION URL for an arbitrary host, port and path, including internal and loopback addresses, making Nmap send a GET request there; response content is not returned to the attacker.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 2.9, EPSS 0.3% (percentile 19).

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:

  • Applicare filtri sul traffico in uscita del server e bloccare l'accesso agli endpoint di metadati cloud (169.254.169.254).

Verifica

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Riferimenti