Peplink Balance — 1 vulnerability check

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

← All products · Feeds on GitHub

Peplink Balance routers hasync.cgi debug information disclosure

CVECVE-2017-8835, CVE-2017-8836, CVE-2017-8837, CVE-2017-8838, CVE-2017-8839, CVE-2017-8840, CVE-2017-8841
Severitymedium · CVSS 5.3
Categoryexposure — Exposure
Serviceshttp, https
Detectiontcp_connect, match · highest QoD 75
Feedtests/vulnerabilities/peplink-balance/CVE-2017-8835.yaml

Requests /cgi-bin/HASync/hasync.cgi?debug=1 without credentials and reports when the router returns its high-availability debug output (master LAN address, HA group ID).

How noctis detects it

  1. Raw TCP (TLS on HTTPS), sent verbatim: GET /cgi-bin/HASync/hasync.cgi?debug=1 HTTP/1.0
  2. Checks resp.banner for (?s)^HTTP/1\.[01] 200\b.*Master LAN Address.*HA Group ID → finding QoD 75: Peplink hasync.cgi?debug=1 returned HA debug data (Master LAN Address, HA Group ID) without authentication: …

References:

Feed source — tests/vulnerabilities/peplink-balance/CVE-2017-8835.yaml
uid: c981187d-4335-4062-98d1-d8f3cea3f591
name: "Peplink Balance routers hasync.cgi debug information disclosure (CVE-2017-8835)"
description: "Requests /cgi-bin/HASync/hasync.cgi?debug=1 without credentials and reports when the router returns its high-availability debug output (master LAN address, HA group ID)."
cves: [CVE-2017-8835, CVE-2017-8836, CVE-2017-8837, CVE-2017-8838, CVE-2017-8839, CVE-2017-8840, CVE-2017-8841]
cvss: 5.3
severity: medium
category: exposure
confidence_base: 0.3
tags: [openvas-migrated, http, peplink-balance]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2017-8835"
  - "https://nvd.nist.gov/vuln/detail/CVE-2017-8836"
  - "https://nvd.nist.gov/vuln/detail/CVE-2017-8837"
  - "https://nvd.nist.gov/vuln/detail/CVE-2017-8838"
  - "https://nvd.nist.gov/vuln/detail/CVE-2017-8839"
  - "https://nvd.nist.gov/vuln/detail/CVE-2017-8840"
  - "https://nvd.nist.gov/vuln/detail/CVE-2017-8841"
  - "OpenVAS NASL 2017/gb_peplink_balance_mult_vuln.nasl (GPL-2.0-only)"

# Ported from OpenVAS/Greenbone NASL 2017/gb_peplink_balance_mult_vuln.nasl (GPL-2.0-only).
steps:
  - id: exploit
    action: tcp_connect
    port: "{{port}}"
    send: "GET /cgi-bin/HASync/hasync.cgi?debug=1 HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
    store_as: resp

  - id: detect
    action: match
    source: resp.banner
    pattern: "(?s)^HTTP/1\\.[01] 200\\b.*Master LAN Address.*HA Group ID"
    on_match:
      finding:
        confidence_delta: 0.5
        qod: 75
        evidence: "Peplink hasync.cgi?debug=1 returned HA debug data (Master LAN Address, HA Group ID) without authentication: {{resp.banner}}"
      stop: true

View these feeds on GitHub