Exploit database

Vulnerability

CVE-2013-4660

Vulnerability details

Score
6.8
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:M/Au:N/C:P/I:P/A:P

Description

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, which allows remote attackers to execute arbitrary code via a crafted string that triggers an eval operation.

CVE Program

Exploit source choices

2 sources
Nodejs js-yaml load() Code Execution
MSF-multi--fileformat--nodejs_js_yaml_load_code_execMetasploitNodeJS / remote

This module can be used to abuse node.js applications that parse user-supplied YAML input using the load() function from the 'js-yaml' package < 2.0.5, which doesn't properly handle the unsafe !!js/function tag, allowing to specify a self-executing function which results on execution of arbitrary javascript code.

2013-06-28nodejs_js_yaml_load_code_exec.rb