Vulnerability Information
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
Astro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()` is absent or misordered
Vulnerability Description
Astro is a web framework for content-driven websites. From 7.0.0 until 7.0.6, the composable astro/hono pipeline installs security.checkOrigin only through the middleware() primitive, while actions() and pages() can dispatch to user code independently. Mounting actions() before middleware(), as in the examples/advanced-routing example and Cloudflare Hono documentation, allows cross-origin form-encoded action requests to execute before the origin check, and using pages() without middleware() drops the check for on-demand endpoints and pages. The flaw enables blind write-only cross-site request forgery using the victim's cookies against ActionHandler.handle and PagesHandler.handleWithErrorFallback when manifest.checkOrigin is enabled; the attacker can trigger a state-mutating action or endpoint handler but cannot read the cross-origin response. The default non-composable astro() pipeline is not affected. This issue is fixed in version 7.0.6.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
Vulnerability Type
跨站请求伪造(CSRF)
Vulnerability Title
Astro 跨站请求伪造漏洞
Vulnerability Description
Astro Astro是Astro组织开源的一个内容驱动网站的 web 框架。 Astro 7.0.0版本至7.0.6之前版本存在跨站请求伪造漏洞,该漏洞源于可组合的astro/hono管线仅通过middleware()安装来源检查,而actions()和pages()可独立调度用户代码,导致跨域表单请求在来源检查前执行,可能受到跨站请求伪造攻击。
CVSS Information
N/A
Vulnerability Type
N/A