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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-23657— Path Traversal: '../filedir' in Nuxt Devtools

CVSS 8.8 · High EPSS 1.62% · P82
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-23657

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
Path Traversal: '../filedir' in Nuxt Devtools
Source: NVD (National Vulnerability Database)
Vulnerability Description
Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. Nuxt Devtools is missing authentication on the `getTextAssetContent` RPC function which is vulnerable to path traversal. Combined with a lack of Origin checks on the WebSocket handler, an attacker is able to interact with a locally running devtools instance and exfiltrate data abusing this vulnerability. In certain configurations an attacker could leak the devtools authentication token and then abuse other RPC functions to achieve RCE. The `getTextAssetContent` function does not check for path traversals, this could allow an attacker to read arbitrary files over the RPC WebSocket. The WebSocket server does not check the origin of the request leading to cross-site-websocket-hijacking. This may be intentional to allow certain configurations to work correctly. Nuxt Devtools authentication tokens are placed within the home directory of the current user. The malicious webpage can connect to the Devtools WebSocket, perform a directory traversal brute force to find the authentication token, then use the *authenticated* `writeStaticAssets` function to create a new Component, Nitro Handler or `app.vue` file which will run automatically as the file is changed. This vulnerability has been addressed in release version 1.3.9. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Nuxt 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Nuxt是Nuxt开源的一个免费的开源框架。 Nuxt 1.3.9之前版本存在安全漏洞,该漏洞源于缺少身份验证,容易受到路径遍历的攻击。
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

VendorProductAffected VersionsCPESubscribe
nuxtnuxt < 1.3.9 -

II. Public POCs for CVE-2024-23657

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-23657

登录查看更多情报信息。

Same Patch Batch · nuxt · 2024-08-05 · 4 CVEs total

CVE-2024-343448.8 HIGHRemote code execution via the browser when running the test locally in nuxt
CVE-2024-423528.6 HIGHServer-Side Request Forgery (SSRF) in nuxt-icon
CVE-2024-343436.3 MEDIUMCross-site Scripting (XSS) in navigateTo if used after SSR in nuxt

IV. Related Vulnerabilities

V. Comments for CVE-2024-23657

No comments yet


Leave a comment