一、 漏洞 CVE-2025-54793 基础信息
漏洞信息
                                        # Astro 重复斜杠导致开放重定向漏洞

## 概述

Astro 是一个用于内容驱动型网站的 Web 框架。其在版本 5.2.0 至 5.12.7 中存在开放重定向(Open Redirect)漏洞,影响使用特定部署适配器的网站。

## 影响版本

- 版本:5.2.0 到 5.12.7

## 漏洞细节

- **漏洞位置**:处理包含双斜杠(`//`)路径时的尾部斜杠重定向逻辑。
- **攻击方式**:攻击者可通过构造特殊 URL(如:`https://mydomain.com//malicious-site.com/`),诱导服务器将用户重定向到任意外部域名。
- **影响条件**:站点需使用 **on-demand 渲染(SSR)** 且部署在以下适配器之一:
  - Node.js 适配器
  - Cloudflare 适配器

## 影响范围

- **不受影响的情况**:
  - 静态站点(Static site generation)
  - 使用 Netlify 或 Vercel 部署的站点

## 修复与缓解

- **修复版本**:5.12.8
- **临时缓解措施**:在网络层阻止带有以 `//` 开头的 `Location` 响应头的重定向请求。

## 潜在风险

- 用户可能被重定向至恶意网站,导致钓鱼攻击或其它社会工程攻击风险上升。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Astro: Duplicate trailing slash feature can lead to Open Redirects
来源:美国国家漏洞数据库 NVD
漏洞描述信息
Astro is a web framework for content-driven websites. In versions 5.2.0 through 5.12.7, there is an Open Redirect vulnerability in the trailing slash redirection logic when handling paths with double slashes. This allows an attacker to redirect users to arbitrary external domains by crafting URLs such as https://mydomain.com//malicious-site.com/. This increases the risk of phishing and other social engineering attacks. This affects sites that use on-demand rendering (SSR) with the Node or Cloudflare adapters. It does not affect static sites, or sites deployed to Netlify or Vercel. This issue is fixed in version 5.12.8. To work around this issue at the network level, block outgoing redirect responses with a Location header value that starts with `//`.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
指向未可信站点的URL重定向(开放重定向)
来源:美国国家漏洞数据库 NVD
漏洞标题
Astro 输入验证错误漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Astro是Astro开源的一个内容驱动网站的 web 框架。 Astro 5.2.0至5.12.7版本存在输入验证错误漏洞,该漏洞源于双斜杠路径处理不当,可能导致开放重定向攻击。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
输入验证错误
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-54793 的公开POC
# POC 描述 源链接 神龙链接
1 Group project — CVE-2025-54793 detection & mitigation (Bhuvanesh, Shiva, Emma) https://github.com/Bhuvanesh-Murdoch2005/ict279-cve-2025-54793 POC详情
三、漏洞 CVE-2025-54793 的情报信息
四、漏洞 CVE-2025-54793 的评论

暂无评论


发表评论