CVE-2023-47037: Airflow Broken Access Control Vulnerability
An authenticated user with permission to view a DAG could modify certain DAG run details, such as configuration parameters and start date, when submitting notes. This was due to a missing fix for a previous vulnerability in version 2.7.1.
- Triaged in 2 days
- Fixed in 17 days
- Paid in 17 days
- Disclosed after 17 days
Summary by the program
CVE-2023-47037: Apache Airflow missing fix for CVE-2023-40611 in 2.7.1 (DAG run broken access) Severity: low
Affected versions:
- Apache Airflow before 2.7.3
Description: We failed to apply CVE-2023-40611 in 2.7.1 and this vulnerability was marked as fixed then.
Apache Airflow, versions before 2.7.3, is affected by a vulnerability that allows authenticated and DAG-view authorized Users to modify some DAG run detail values when submitting notes. This could have them alter details such as configuration parameters, start date, etc.
Users should upgrade to version 2.7.3 or later which has removed the vulnerability.
Credit: Tareq Ahamed from Hackerone (reporter) Augusto Hidalgo (remediation developer)
Full Security Advisory: https://lists.apache.org/thread/04y4vrw1t2xl030gswtctc4nt1w90cb0
The report
Hi IBB, Apache Airflow, versions before 2.7.3, is affected by a vulnerability that allows authenticated and DAG-view authorized Users to modify some DAG run detail values when submitting notes. This could have them alter details such as configuration parameters, start date, etc.
Here is the conversation between the security team of airflow.
█████
More Details: https://lists.apache.org/thread/04y4vrw1t2xl030gswtctc4nt1w90cb0
Impact
Broken Access Control Vulnerability.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a missing authorization check on the endpoint that handles note submission, allowing users with only view permission to modify DAG run details.
Impact
An authenticated user with DAG-view permission could alter DAG run details such as configuration parameters and start date.
What the attacker needed
Authenticated user; DAG-view permission
The fix
The vulnerability was fixed in version 2.7.3; users should upgrade to that version or later.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Apache Airflow is a tool for scheduling and running data workflows. A DAG is a workflow definition. The bug meant that someone who was only supposed to look at a workflow could still change some of its run details, like settings or when it started, by adding a note. This is a problem because users should not be able to change things they are only allowed to view.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.