CVE-2020-13927
CRITICAL KEV NUCLEIApache Airflow < 1.10.11 - Unauthenticated Remote Code Execution via Experimental API
Title source: llmExploitation Summary
CVE-2020-13927 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added January 18, 2022.
EIP tracks 2 public exploits from researchers including Pepe Berba, xuxiang, Pepe Berba, Ismail E. Dawoodjee, including a Metasploit module exploits/linux/http/apache_airflow_dag_rce.
A Nuclei detection template is also available.
AI-analyzed exploit summary This exploit leverages CVE-2020-11978 and CVE-2020-13927 to achieve unauthenticated remote code execution in Apache Airflow versions <= 1.10.10 by manipulating the Experimental API to trigger a vulnerable example DAG.
Description
The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but this poses security risks to users who miss this fact. From Airflow 1.10.11 the default has been changed to deny all requests by default and is documented at https://airflow.apache.org/docs/1.10.11/security.html#api-authentication. Note this change fixes it for new installs but existing users need to change their config to default `[api]auth_backend = airflow.api.auth.backend.deny_all` as mentioned in the Updating Guide: https://github.com/apache/airflow/blob/1.10.11/UPDATING.md#experimental-api-will-deny-all-request-by-default
Exploits (2)
This exploit leverages CVE-2020-11978 and CVE-2020-13927 to achieve unauthenticated remote code execution in Apache Airflow versions <= 1.10.10 by manipulating the Experimental API to trigger a vulnerable example DAG.
This Metasploit module exploits CVE-2020-13927 and CVE-2020-11978 in Apache Airflow 1.10.10, combining unauthenticated API access with a command injection vulnerability in an example DAG to achieve remote code execution.
Nuclei Templates (1)
title:"Airflow - DAGs" || http.html:"Apache 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 (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H