Skip to content
Access control Disclosed report Intermediate CVE-2023-47037

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.

itztrq Follow

Originally disclosed on HackerOne

  • 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.

The original report as published on HackerOne, by itztrq. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by itztrq

View all

1 more disclosed report, best first.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.