Vigil@nce - Node.js: code execution via npm
May 2016 by Vigil@nce
This bulletin was written by Vigil@nce : https://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
An attacker can invite the victim to install a malicious package
with npm of Node.js, in order to run code.
Impacted products: Node.js Modules not comprehensive.
Severity: 2/4.
Creation date: 29/03/2016.
DESCRIPTION OF THE VULNERABILITY
The Node.js product uses npm to manage packages.
However, a malicious package can contain scripts, which are run
during the installation, or during its usage.
If the victim has publication privileges, a worm can use these
scripts to inject itself in new packages published on the internet.
An attacker can therefore invite the victim to install a malicious
package with npm of Node.js, in order to run code.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN
https://vigilance.fr/vulnerability/Node-js-code-execution-via-npm-19246