Secrets not masked in UI when sensitive variables are set via Airflow cli
Sensitive variables set via the Airflow CLI were masked on most UI pages but not on the Audit logs page.
- Fixed in 23 days
- Paid in 23 days
- Disclosed after 53 days
Summary by the program
When a sensitive variable is set using Airflow cli, it should be masked on every instance where it is referenced in the UI. However it has been observed that it is masked on the Variable List page and other pages but not the Audit logs page.
The report
When a sensitive variable is set using Airflow cli, it should be masked on every instance where it is referenced in the UI. However it has been observed that it is masked on the Variable List page and other pages but not the Audit logs page.
Allocated CVE: CVE-2024-50378
Apache Airflow release notes that confirm about fixing the issue in latest release 2.10.3: https://airflow.apache.org/docs/apache-airflow/stable/release_notes.html#airflow-2-10-3-2024-11-04
Pull request that fix the issue: https://github.com/apache/airflow/pull/43123
Email communication between me (reporter) and the security team of Apache Airflow:
Impact
Sensitive information disclosed on UI without masking.
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
Impact
Sensitive information could be disclosed on the UI without masking.
What the attacker needed
Access to the Audit logs page
The fix
The issue was fixed in Apache Airflow 2.10.3.
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.
Airflow lets you store variables, some marked as sensitive so their values are hidden in the web interface. This report found that the audit log page still showed the real value instead of hiding it.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.