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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-34092— Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)

Quick assessment

Affected
vitejs vite
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Vite是Vite开源的一种新型的前端构建工具。 Vite 2.9.16版本、3.2.7版本、4.0.5版本、4.1.5版本、4.2.3版本、4.3.9版本存在安全漏洞。攻击者利用该漏洞从应用程序的Vite根路径读取文件。

CVSS 7.5 · High EPSS 3.13% · P88

Public Exploits 1

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-34092

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
Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)
Source: CVE Program / CVE List V5
Vulnerability Description
Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5, vite@3.2.7, and vite@2.9.16.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
路径等价:’//multiple/leading/slash’
Source: CVE Program / CVE List V5
Vulnerability Title
Vite 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Vite是Vite开源的一种新型的前端构建工具。 Vite 2.9.16版本、3.2.7版本、4.0.5版本、4.1.5版本、4.2.3版本、4.3.9版本存在安全漏洞。攻击者利用该漏洞从应用程序的Vite根路径读取文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
vitejs vite < 2.9.16 -

II. Public POCs for CVE-2023-34092

# POC Description Source Link Shenlong Link
1 test-cve-2023-34092 https://github.com/FlapyPan/test-cve-2023-34092 POC Details
2 Vite dev server could allow reading files from the Vite project root by bypassing server.fs.deny with double forward-slash paths (//). This affects exposed dev servers only. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-34092.yaml POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-34092

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

Patches & Fixes for CVE-2023-34092 (2)

Vendor Advisories for CVE-2023-34092 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-34092

No comments yet


Leave a comment