Description
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.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/fileformat/nodejs/js_yaml_load_code_execmsf undefined(js_yaml_load_code_exec) > show actions ...actions...msf undefined(js_yaml_load_code_exec) > set ACTION < action-name >msf undefined(js_yaml_load_code_exec) > show options ...show and set options...msf undefined(js_yaml_load_code_exec) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub