Descrizione
The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but this poses security risks to users who miss this fact. From Airflow 1.10.11 the default has been changed to deny all requests by default and is documented at https://airflow.apache.org/docs/1.10.11/security.html#api-authentication. Note this change fixes it for new installs but existing users need to change their config to default `[api]auth_backend = airflow.api.auth.backend.deny_all` as mentioned in the Updating Guide: https://github.com/apache/airflow/blob/1.10.11/UPDATING.md#experimental-api-will-deny-all-request-by-default
Come correggere
Priorità: Urgente — intervenire subito, entro 24-48 ore. Motivazione: sfruttata attivamente (catalogo CISA KEV), CVSS 9.8.
Versioni da aggiornare
- Apache Airflow: vulnerabili le versioni precedenti alla
1.10.11→ aggiornare alla1.10.11o successiva.
Azione richiesta da CISA (KEV)
Apply updates per vendor instructions.
Scadenza fissata per le agenzie federali USA: 2022-07-18. È un buon riferimento anche per le organizzazioni private.
Patch e advisory
- Advisory del vendor: lists.apache.org/thread.html/r23a81b247aa346ff193670b…
- Advisory del vendor: lists.apache.org/thread.html/r23a81b247aa346ff193670b…
- Advisory di terze parti: www.cisa.gov/known-exploited-vulnerabilities-catalog
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Non esporre l'interfaccia di gestione su Internet: consentire l'accesso solo da reti fidate e verificare la presenza di account, sessioni o chiavi non autorizzate.
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.
- Poiché la vulnerabilità è sfruttata attivamente, cercare indicatori di compromissione nei log precedenti alla patch.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Apache | Airflow | < 1.10.11 | 1.10.11 |
Riferimenti
- Advisory del vendorhttps://lists.apache.org/thread.html/r23a81b247aa346ff193670be565b2b8ea4b17ddbc7a35fc099c1aadd%40%3Cdev.airflow.apache.org%3E
- Advisory del vendorhttps://lists.apache.org/thread.html/r23a81b247aa346ff193670be565b2b8ea4b17ddbc7a35fc099c1aadd%40%3Cdev.airflow.apache.org%3E
- Exploit pubblicohttp://packetstormsecurity.com/files/162908/Apache-Airflow-1.10.10-Remote-Code-Execution.html
- Exploit pubblicohttp://packetstormsecurity.com/files/174764/Apache-Airflow-1.10.10-Remote-Code-Execution.html
- Exploit pubblicohttp://packetstormsecurity.com/files/162908/Apache-Airflow-1.10.10-Remote-Code-Execution.html
- Exploit pubblicohttp://packetstormsecurity.com/files/174764/Apache-Airflow-1.10.10-Remote-Code-Execution.html
- Advisory di terze partihttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13927