cf-managerでコード実行の脆弱性、1.1.2で修正
Summary
Cloudflareの複数アカウントを管理するcf-managerに、攻撃者が用意したコードを被害者のCloudflare Workersで動かせる脆弱性があります。1.1.2未満を使う組織は1.1.2へ更新し、API_SECRETの設定とWorkers一覧の確認を進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Cloudflareの複数アカウントを管理するcf-managerに、攻撃者が用意したコードを被害者のCloudflare Workersで動かせる脆弱性があります。1.1.2未満を使う組織は1.1.2へ更新し、API_SECRETの設定とWorkers一覧の確認を進めてください。
Original description The description as published by the source.
cf-manager is an all-in-one dashboard for managing multiple Cloudflare accounts and services. Prior to 1.1.2, worker/src/routes/workers.ts uses bare fetch(url) calls to retrieve user-supplied URLs and deploys the returned content as a Worker script using stored Cloudflare credentials. The multipart and JSON branches of POST /api/:accountId/workers and POST /api/batch-deploy accept URLs without protocol, destination, redirect, content-type, or response-size validation. An attacker with deployment API access, or unauthenticated access when API_SECRET is not configured, can make cf-manager access internal resources or fetch attacker-controlled JavaScript and execute it in the victim Cloudflare Workers account. This issue is fixed in version 1.1.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com