Vicon — 1 vulnerability check
noctis ships 1 vulnerability check for Vicon, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Vicon Industries Network Camera Default Credentials (HTTP)
| CVE | CVE-2018-14019 |
|---|---|
| Severity | critical · CVSS 10.0 |
| Category | default-credentials — Default credentials |
| Services | http, https |
| Detection | set_var, script, tcp_connect, match · highest QoD 97 |
| Feed | tests/vulnerabilities/vicon/CVE-2018-14019.yaml |
Vicon Industries network cameras ship with the web account root/system (CVE-2018-14019). The check logs in to the camera's security settings page (/accessset.html) over HTTP Basic auth with that pair and confirms it reaches the authenticated page, after making sure a random account is refused so a finding proves the default credential. With it, an attacker gets full administrative control of the camera.
How noctis detects it
- Parses / computes the next value with a Rhai script
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /accessset.html HTTP/1.0 - Parses / computes the next value with a Rhai script
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /accessset.html HTTP/1.0 - Checks
login.bannerfor(?is)^HTTP/1\.[01] 200\b.*((Security|access) Settings</title>|<td cla…→ finding QoD 97: Logged in to the Vicon camera web interface with the default credential root/system: GET /accessset.html returned HTTP 200 with the authent…
References:
Feed source — tests/vulnerabilities/vicon/CVE-2018-14019.yaml
# Vicon Industries network cameras — default web account root:system
# (CVE-2018-14019).
#
# Ported from OpenVAS/Greenbone NVT
# 2018/viconindustries/gb_vicon_industries_network_camera_default_credentials.nasl
# (OID 1.3.6.1.4.1.25623.1.0.107336, GPL-2.0-only):
# GET /accessset.html with "Authorization: Basic base64(root:system)"; the
# login worked when the reply carries one of the security-settings page
# markers: "(Security|access) Settings</title>",
# '<td class="subtitle">Passwords', '(class="input">|helpbold=")change
# general password' or 'helpsub="Passwords"'. Reading that page is a
# read-only post-login proof.
#
# Deviations from the NASL (stronger detection, stated in the PR):
# * Accept-any-password control: before the default login, the same page is
# requested with a random user and a random password. If that already
# returns the settings page, the camera does not check credentials (page
# open to anyone, honeypot, broken auth) and the feed reports nothing — the
# NASL would report root:system. The random account does not exist on a
# real camera, so no real account sees an extra failed login.
# * The reply must be HTTP 200; the NASL matches the markers on any status.
# * The NASL only runs once its product detection has set a Vicon CPE; here
# the product-specific settings-page markers plus the control replace
# that gate.
#
# NVD has not published CVE-2018-14019 (the NASL cites it); `cvss` keeps the
# NASL's score. Nothing is changed on the camera.
uid: 37bc6364-1f0a-4c60-beb0-d3982f6af4b1
name: "Vicon Industries Network Camera Default Credentials (HTTP)"
description: |
Vicon Industries network cameras ship with the web account root/system
(CVE-2018-14019). The check logs in to the camera's security settings page
(/accessset.html) over HTTP Basic auth with that pair and confirms it reaches
the authenticated page, after making sure a random account is refused so a
finding proves the default credential. With it, an attacker gets full
administrative control of the camera.
cves: [CVE-2018-14019]
cvss: 10.0
severity: critical
category: default-credentials
confidence_base: 0.30
tags: [openvas-migrated, vicon, ip-camera, default-credentials, http]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://www.cve.org/CVERecord?id=CVE-2018-14019"
- "OpenVAS/Greenbone NASL 2018/viconindustries/gb_vicon_industries_network_camera_default_credentials.nasl (GPL-2.0-only)"
steps:
- id: init-anycred
action: set_var
var_name: anycred
var_value: false
# Pre-init the stored result the control script reads, so the script never
# sees an undefined variable when the control request fails.
- id: init-ctrl
action: set_var
var_name: ctrl
var_value: {banner: null}
# 1. Control — a random account must not open the security settings page.
- id: control-auth
action: script
code: 'base64_encode("noctis" + rand_hex(6) + ":" + rand_hex(10))'
store_as: bad_auth
- id: control
action: tcp_connect
port: "{{port}}"
send: "GET /accessset.html HTTP/1.0\r\nHost: {{target_host}}\r\nAuthorization: Basic {{bad_auth}}\r\n\r\n"
store_as: ctrl
- id: control-check
action: script
code: |
let b = ctrl.banner;
type_of(b) == "string"
&& ereg("^HTTP/1\\.[01] 200", b)
&& ereg("(?i)(Security|access) Settings</title>|<td class=\"subtitle\">Passwords|(class=\"input\">|helpbold=\")change general password|helpsub=\"Passwords\"", b)
store_as: anycred
# 2. Default login root:system (NASL request).
- id: login
action: tcp_connect
port: "{{port}}"
send: "GET /accessset.html HTTP/1.0\r\nHost: {{target_host}}\r\nAuthorization: Basic cm9vdDpzeXN0ZW0=\r\n\r\n"
store_as: login
condition: "!anycred"
- id: detect-default
action: match
source: login.banner
pattern: '(?is)^HTTP/1\.[01] 200\b.*((Security|access) Settings</title>|<td class="subtitle">Passwords|(class="input">|helpbold=")change general password|helpsub="Passwords")'
condition: "!anycred"
on_match:
finding:
confidence_delta: 0.65
qod: 97
evidence: "Logged in to the Vicon camera web interface with the default credential root/system: GET /accessset.html returned HTTP 200 with the authenticated security settings page, while a random account was refused."