| Title | Apache Airflow OS Command Injection |
|---|---|
| Author | xeldax |
| Severity | High |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the target system. |
| Remediation | Apply the latest security patches or upgrade to a patched version of Apache Airflow. |
| CVSS Score | 8.8 |
| EPSS Score | 0.90127 |
| CVE ID | CVE-2022-24288 |
| 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 | cve cve2022 airflow rce apache vkev vuln |
Apache Airflow prior to version 2.2.4 is vulnerable to OS command injection attacks because some example DAGs do not properly sanitize user-provided parameters, making them susceptible to OS Command Injection from the web UI.
GET /admin/airflow/code?root&dag_id=example_passing_params_via_test_command HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /code?dag_id=example_passing_params_via_test_command HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_3; en-ca) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/525.20
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24288.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-24288.pcap
N/AN/A