OWASP BLT is a QA testing and vulnerability disclosure platform that encompasses websites, apps, git repositories, and more. Versions prior to 2.1.1 contain an RCE vulnerability in the .github/workflo...
概要
OWASP BLT is a QA testing and vulnerability disclosure platform that encompasses websites, apps, git repositories, and more. Versions prior to 2.1.1 contain an RCE vulnerability in the .github/workflows/regenerate-migrations.yml workflow. The workflow uses the pull_request_target trigger to run with...
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
OWASP BLT is a QA testing and vulnerability disclosure platform that encompasses websites, apps, git repositories, and more. Versions prior to 2.1.1 contain an RCE vulnerability in the .github/workflows/regenerate-migrations.yml workflow. The workflow uses the pull_request_target trigger to run with full GITHUB_TOKEN write permissions, copies attacker-controlled files from untrusted pull requests into the trusted runner workspace via git show, and then executes python manage.py makemigrations, which imports Django model modules including attacker-controlled website/models.py at runtime. Any module-level Python code in the attacker's models.py is executed during import, enabling arbitrary code execution in the privileged CI environment with access to GITHUB_TOKEN and repository secrets. The attack is triggerable by any external contributor who can open a pull request, provided a maintainer applies the regenerate-migrations label, potentially leading to secret exfiltration, repository compromise, and supply chain attacks. A patch for this issue is expected to be released in version 2.1.1.
出典: NIST National Vulnerability Database NVD
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
OWASP BLTのバージョン2.1.1未満には、.github/workflows/regenerate-migrations.ymlにおいてリモートコード実行(RCE)の脆弱性があります。この脆弱性により、攻撃者が外部のプルリクエストを通じて任意のPythonコードをCI環境で実行でき、機密情報の漏洩やリポジトリの改ざんを引き起こす可能性があります。
OWASP BLTのRCE脆弱性
バージョン2.1.1未満の.github/workflows/regenerate-migrations.yml
攻撃者が外部から任意のコードを実行し、GITHUB_TOKENの悪用やリポジトリの改ざんを引き起こす可能性があるため、高い重要性があります。
バージョン2.1.1へのアップデートが推奨されます。
暫定措置として、プルリクエストにラベルを付けないよう運用で対応可能です。
プルリクエストのトリガー条件をチェックし、既知の攻撃パターンの監視を実施します。
参照URL
- exploit security-advisories@github.com