Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-51020— Flower before 2.2.0 CSRF via Worker and Task Control API Endpoints

Quick assessment

Affected
mher flower
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Flower 2.2.0 版本之前存在跨站请求伪造(CSRF)漏洞。该漏洞是由于 Tornado 框架的 xsrf_cookies 被禁用,且 OAuth 会话 Cookie 缺少 SameSite 属性所致。攻击者可诱骗已认证用户访问恶意页面,该页面会通过 POST 请求向 /api/worker/shutdown、/api/worker/pool/restart 或 /api/task/revoke 等接口发起请求,从而导致 Celery 工作节点被关闭、任务池大小被调整以及任务被撤销。

CVSS 5.9 · Medium EPSS 0.14% · P3

Affected Version Matrix 2

VendorProduct Version RangeStatus
mher flower < 2.2.0 affected
2.2.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-51020

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Flower before 2.2.0 CSRF via Worker and Task Control API Endpoints
Source: CVE Program / CVE List V5
Vulnerability Description
Flower before 2.2.0 contains a cross-site request forgery vulnerability because Tornado xsrf_cookies is disabled and the OAuth session cookie lacks SameSite. Attackers can lure authenticated users to malicious pages that POST to /api/worker/shutdown, /api/worker/pool/restart, or /api/task/revoke to shut down Celery workers, resize pools, and revoke tasks.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨站请求伪造(CSRF)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
mher flower 0 ~ 2.2.0 -

II. Public POCs for CVE-2022-51020

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-51020

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-51020 (3)

Vendor Advisories for CVE-2022-51020 (2)

Other References for CVE-2022-51020 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-51020

No comments yet


Leave a comment