Cisco Small Business RV routers — 1 vulnerability check

noctis ships 1 vulnerability check for Cisco Small Business RV routers, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

Cisco Small Business RV320/RV325 Routers Unauthenticated Configuration Disclosure

CVECVE-2019-1653
Severityhigh · CVSS 7.5
Categoryexposure — Exposure
Serviceshttp, https
Detectiontcp_connect, script, match · highest QoD 75
Feedtests/vulnerabilities/cisco-rv/CVE-2019-1653.yaml

Requests /cgi-bin/config.exp without credentials and reports when the RV320/RV325 router returns an exported configuration carrying the sysconfig section (password hashes, keys and network settings).

How noctis detects it

  1. Raw TCP (TLS on HTTPS), sent verbatim: GET /cgi-bin/config.exp HTTP/1.0
  2. Parses / computes the next value with a Rhai script
  3. Checks detect_marker for cisco-rv-config-export-exposed → finding QoD 75: Cisco RV320/RV325 /cgi-bin/config.exp returned an exported device configuration (HTTP 200 carrying the genuine 'sysconfig' section marker) …

References:

Feed source — tests/vulnerabilities/cisco-rv/CVE-2019-1653.yaml
uid: 86daef09-7fdc-4be5-a690-c5516d8169f2
name: "CVE-2019-1653 — Cisco Small Business RV320/RV325 Routers Unauthenticated Configuration Disclosure (CVSS 7.5)"
description: "Requests /cgi-bin/config.exp without credentials and reports when the RV320/RV325 router returns an exported configuration carrying the sysconfig section (password hashes, keys and network settings)."
cves: [CVE-2019-1653]
cvss: 7.5
severity: high
category: exposure
confidence_base: 0.25
tags: [cisco, rv320, rv325, small-business, config-disclosure, kev]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2019-1653"
  - "https://github.com/0x27/CiscoRV320Dump"
  - "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-1653.yaml"
  - "https://www.rapid7.com/db/?q=CVE-2019-1653"
# Cisco Small Business RV320/RV325 WAN VPN routers expose /cgi-bin/config.exp to an
# unauthenticated attacker, who can download the full device configuration export.
# Honest QoD-75 response analysis: a benign unauthenticated GET for the export is sent,
# and detection requires BOTH an HTTP 200 AND the genuine 'sysconfig' section marker that
# a real device's exported configuration carries (the same token the public Nuclei/MSF
# tooling keys on) — a vulnerable device returns the export, a patched one answers
# 401/403/404 and nothing matches.
#
# The exported configuration contains secrets (admin password hash, SNMP communities). The
# engine copies a `match` step's whole source into the finding's `matched` field, so the
# detection does NOT match against the raw response (which would carry those secrets into a
# finding). Instead a `script` step reduces the response to a single non-secret marker token
# and the `match` keys on that token — nothing but the structural 'sysconfig' section name is
# ever cited, and the config body is never echoed into any finding field.
steps:
  - id: probe
    action: tcp_connect
    port: "{{port}}"
    send: "GET /cgi-bin/config.exp HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
    store_as: resp

  # Reduce the raw export (which contains credentials) to a single safe marker token BEFORE
  # any match step, so no secret material can land in the finding's auto-captured `matched`.
  - id: analyze
    action: script
    code: |
      let banner = if type_of(resp.banner) == "string" { resp.banner } else { "" };
      let status_ok = ereg("^HTTP/1\\.[01] 200", banner);
      let has_marker = ereg("sysconfig", banner);
      if status_ok && has_marker { "cisco-rv-config-export-exposed" } else { "none" }
    store_as: detect_marker

  - id: detect
    action: match
    source: detect_marker
    pattern: "cisco-rv-config-export-exposed"
    on_match:
      finding:
        confidence_delta: 0.45
        qod: 75
        evidence: "Cisco RV320/RV325 /cgi-bin/config.exp returned an exported device configuration (HTTP 200 carrying the genuine 'sysconfig' section marker) without authentication — CVE-2019-1653. Config body withheld: it contains credential material."
      stop: true

View these feeds on GitHub