vendor:
Airflow
by:
Pepe Berba
8.8
CVSS
HIGH
Remote Code Execution
78
CWE
Product Name: Airflow
Affected Version From: <= 1.10.10
Affected Version To: 1.10.10
Patch Exists: YES
Related CWE: CVE-2020-11978
CPE: a:apache:airflow:1.10.10
Tags: cve,cve2020,apache,airflow,rce,kev
CVSS Metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Nuclei Metadata: {'max-request': 4, 'shodan-query': 'http.html:"Apache Airflow" || title:"Airflow - DAGs"', 'verified': True, 'vendor': 'apache', 'product': 'airflow'}
Platforms Tested: Docker apache/airflow:1.10.10
2021
Apache Airflow 1.10.10 – ‘Example Dag’ Remote Code Execution
This is a proof of concept for CVE-2020-11978, a RCE vulnerability in one of the example DAGs shipped with airflow. This combines with CVE-2020-13927 where unauthenticated requests to Airflow's Experimental API were allowed by default. Together, potentially allows unauthenticated RCE to Airflow.
Mitigation:
For CVE-2020-13927 make sure that the config `[api]auth_backend = airflow.api.auth.backend.deny_all` or has auth set. For CVE-2020-11978 use 1.10.11 or set `load_examples=False` when initializing Airflow. You can also manually delete example_trigger_target_dag DAG.