Apache Airflow < 2.4.0 - Authenticated Remote Code Execution via Run ID Parameter
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2022-40127. PoCs published by Mr-xn, jakabakos. A Nuclei detection template is also available.
AI-analyzed exploit summary This repository provides a functional proof-of-concept for CVE-2022-40127, demonstrating RCE in Apache Airflow < 2.4.0 via command injection in the `example_bash_operator` DAG. It includes Docker setup instructions and two PoC methods: one via DAG configuration and another via API endpoint exploitation.
Description
A vulnerability in Example Dags of Apache Airflow allows an attacker with UI access who can trigger DAGs, to execute arbitrary commands via manually provided run_id parameter. This issue affects Apache Airflow Apache Airflow versions prior to 2.4.0.
Exploits (2)
This repository provides a functional proof-of-concept for CVE-2022-40127, demonstrating RCE in Apache Airflow < 2.4.0 via command injection in the `example_bash_operator` DAG. It includes Docker setup instructions and two PoC methods: one via DAG configuration and another via API endpoint exploitation.
This repository contains a functional exploit for CVE-2022-40127, an RCE vulnerability in Apache Airflow versions prior to 2.4.0. The exploit leverages the `example_bash_operator` DAG to execute arbitrary commands via a crafted `run_id` parameter, demonstrating a reverse shell payload.
Nuclei Templates (1)
title:"Sign In - Airflow" || http.title:"airflow - dags" || http.html:"apache airflow" || http.title:"sign in - airflow" || product:"redis"
title="sign in - airflow" || apache airflow || title="airflow - dags" || http.html:"apache airflow"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H