CVE-2021-38540
CRITICAL NUCLEIAirflow >=2.0.0-<2.1.3 - RCE/Info Disclosure
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2021-38540. PoCs published by Captain-v-hook. A Nuclei detection template is also available.
AI-analyzed exploit summary This PoC demonstrates an authentication bypass vulnerability in Apache Airflow (CVE-2021-38540) by sending a crafted HTTP POST request to the unauthenticated `/variable/varimport` endpoint, allowing the creation/modification of Airflow variables. The exploit leverages a missing authentication check to potentially achieve remote code execution or denial of service.
Description
The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3. This allowed unauthenticated users to hit that endpoint to add/modify Airflow variables used in DAGs, potentially resulting in a denial of service, information disclosure or remote code execution. This issue affects Apache Airflow >=2.0.0, <2.1.3.
Exploits (1)
This PoC demonstrates an authentication bypass vulnerability in Apache Airflow (CVE-2021-38540) by sending a crafted HTTP POST request to the unauthenticated `/variable/varimport` endpoint, allowing the creation/modification of Airflow variables. The exploit leverages a missing authentication check to potentially achieve remote code execution or denial of service.
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 (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H