Skip to content
Access control Disclosed report Beginner CVE-2023-40611

CVE-2023-40611: Apache Airflow Dag Runs Broken Access Control Vulnerability

An authenticated user with only DAG-view permission could modify DAG run details such as configuration parameters and start date by tampering with the request when submitting notes. This allowed them to alter values they were not authorised to change.

x_h1 Follow

Originally disclosed on HackerOne

  • Triaged in 25 hours
  • Fixed in 15 days
  • Paid in 15 days
  • Disclosed after 45 days

Summary by the program

CVE-2023-40611: Apache Airflow Dag Runs Broken Access Control Vulnerability Severity: low

Affected versions:

  • Apache Airflow before 2.7.1

Description: Apache Airflow, versions before 2.7.1, 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.1 or later which has removed the vulnerability.

Credit: happyhacking (finder)

Full Security Advisory: https://lists.apache.org/thread/8y9xk1s3j4qr36yzqn8ogbn9fl7pxrn0

The report

##Description:

Apache Airflow, versions before 2.7.1, 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.1 or later which has removed the vulnerability.

##Vulnerability Exploitation:

1.Select Browse-->DAG Runs, we can see the Dag Run list.

image1.png
image1.png From the original on HackerOne

2.Select a Dag, and edit it.

image2.png
image2.png From the original on HackerOne
  1. We can see that the Conf parameter text box is gray and cannot be edited. The current user does not have permission to modify the Conf value.
image3.png
image3.png From the original on HackerOne

4.Click Save to intercept the request message and modify the parameter value of Conf to "1111111111111".

image4.png
image4.png From the original on HackerOne

5.Successfully modified beyond permission.

image5.png
image5.png From the original on HackerOne

Impact

Broken Access Control

The original report as published on HackerOne, by x_h1. 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 the server-side endpoint that saves DAG run notes did not verify that the user had permission to modify the DAG run's configuration and other details, relying only on the client-side disabled form fields.

Impact

An authenticated user with only 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 Apache Airflow version 2.7.1; users should upgrade to that version or later.

How it was found

  1. Go to Browse then DAG Runs to see the list of DAG runs.
  2. Select a DAG and edit it.
  3. Observe that the Conf parameter text box is greyed out because the current user lacks permission to modify it.
  4. Click Save, intercept the request, and change the Conf parameter value.
  5. The modification succeeds despite the lack of permission.

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 data workflows. The website had a form where some fields were greyed out for users without permission, but the server did not check that permission when saving. So a user could change the hidden request and edit values they should not be able to.

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 x_h1

View all

4 more disclosed reports, 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.