Remote Code Execution (RCE) Affecting org.webjars.npm:nuxt package, versions [0,]
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGWEBJARSNPM-7675678
- published 26 Aug 2024
- disclosed 5 Aug 2024
- credit Ry0taK
Introduced: 5 Aug 2024
CVE-2024-34344 Open this link in a new tabHow to fix?
A fix was pushed into the master
branch but not yet published.
Overview
org.webjars.npm:nuxt is a
Affected versions of this package are vulnerable to Remote Code Execution (RCE) due to insufficient validation of the path
parameter in the NuxtTestComponentWrapper
. An attacker can execute arbitrary JavaScript on the server side, which allows them to execute arbitrary commands when the victim opens a malicious web page in the browser while running the test locally.
Note:
This vulnerability affects only users who open a malicious web page in the browser while running the test locally.
Since web pages can send requests to arbitrary addresses, a malicious web page can repeatedly try to exploit this vulnerability, which then triggers the exploit when the test server starts.