Patchfirst
CVE-2020-13927 KEVPublic exploit Critical · 9.8 EPSS 99.8%

Apache Airflow's Experimental API Authentication Bypass

Apache · Airflow's Experimental API

Summary

The Experimental API in Apache Airflow shipped with a default configuration that allowed all API requests without authentication, a flaw that persists in existing installations that have not changed their configuration. An unauthenticated attacker with network access to the Experimental API can make requests without credentials, and no user interaction or prior authentication is required, though the flaw applies only where the insecure default remains in place (fixed by default from Airflow 1.10.11, with existing users needing to set the deny-all auth backend).

Official description · NVD

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

Breakdown
69.9 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 14 months after disclosure. Public exploit code (Metasploit) was available 4 months before disclosure.

  1. Public exploit codeMetasploit4 mo before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVEU database agrees+14 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

unauthenticated API request exploits public-facing app

allow all API requests without authentication
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

API accepts requests enabling command/DAG execution

allow all API requests without authentication
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2020-13927 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: apache-airflow.

Upgrade to 1.10.11

Fixes this CVE and 1 other known vulnerability in this package (CVE-2020-11978).

Still affected on this line by CVE-2022-24288 (fixed in 2.2.4, a newer line); CVE-2022-40127 (fixed in 2.4.0, a newer line); CVE-2022-45402 (fixed in 2.4.3, a newer line).

pippip install "apache-airflow>=1.10.11"

The first fix for CVE-2020-13927.

Affected versions

If you runUpgrade to
All versions before 1.10.111.10.11

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

4 links, grouped by NVD tag (3 duplicates merged)
↑ ↓ chooseEnter openEsc close