Cohu — 1 vulnerability check

noctis ships 1 vulnerability check for Cohu, covering 5 CVEs; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

Cohu 3960HD camera unauthenticated directory listing

CVECVE-2017-8860, CVE-2017-8861, CVE-2017-8862, CVE-2017-8863, CVE-2017-8864
Severitymedium · CVSS 6.5
Categoryexposure — Exposure
Serviceshttp, https
Detectiontcp_connect, match · highest QoD 75
Feedtests/vulnerabilities/cohu/CVE-2017-8860.yaml

Requests // on the Cohu 3960HD web server and reports when it returns a directory listing without authentication, exposing the files behind CVE-2017-8860 to 8864.

How noctis detects it

  1. Raw TCP (TLS on HTTPS), sent verbatim: GET // HTTP/1.0
  2. Checks resp.banner for (?im)^HTTP/1\.[01] 200[\s\S]*Directory listing of → finding QoD 75: Cohu 3960HD returned a directory listing for GET // without authentication

References:

Feed source — tests/vulnerabilities/cohu/CVE-2017-8860.yaml
uid: 3f14214a-9e74-4833-ab5d-1a4b6cee6292
name: "CVE-2017-8860 — Cohu 3960HD camera unauthenticated directory listing (CVSS 6.5)"
description: "Requests // on the Cohu 3960HD web server and reports when it returns a directory listing without authentication, exposing the files behind CVE-2017-8860 to 8864."
cves: [CVE-2017-8860, CVE-2017-8861, CVE-2017-8862, CVE-2017-8863, CVE-2017-8864]
cvss: 6.5
severity: medium
category: exposure
confidence_base: 0.3
tags: [cohu, camera, directory-listing]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2017-8860"
  - "OpenVAS NASL 2017/gb_cohu_camera_mult_vuln.nasl (GPL-2.0-only)"
# Ported from OpenVAS/Greenbone NASL 2017/gb_cohu_camera_mult_vuln.nasl (GPL-2.0-only, Greenbone Community Feed).
# Faithful: request the exact NASL URL, then confirm BOTH the response status line and the
# plugin's confirming marker — a bare 200 with no marker does not fire (non-trivial negative).
steps:
  - id: probe
    action: tcp_connect
    port: "{{port}}"
    send: "GET // HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
    store_as: resp

  - id: detect
    action: match
    source: resp.banner
    pattern: '(?im)^HTTP/1\.[01] 200[\s\S]*Directory listing of'
    on_match:
      finding:
        confidence_delta: 0.5
        qod: 75
        evidence: "Cohu 3960HD returned a directory listing for GET // without authentication"
      stop: true

View these feeds on GitHub