🔙 목록으로 돌아가기

CVE-2022-24288: Apache Airflow OS Command Injection

TitleApache Airflow OS Command Injection
Authorxeldax
SeverityHigh
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the target system.
RemediationApply the latest security patches or upgrade to a patched version of Apache Airflow.
CVSS Score8.8
EPSS Score0.90127
CVE IDCVE-2022-24288
CWE IDCWE-78
Shodan Querytitle:"Airflow - DAGs" || http.html:"Apache Airflow"http.title:"airflow - dags" || http.html:"apache airflow"http.title:"sign in - airflow"product:"redis"
Fofa Querytitle="sign in - airflow"apache airflowtitle="airflow - dags" || http.html:"apache airflow"
Tags cve cve2022 airflow rce apache vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24288.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-24288.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A