Datum Systems PSM — 1 vulnerability check
noctis ships 1 vulnerability check for Datum Systems PSM, covering 2 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Datum Systems PSM Satellite Modem Default Credentials (HTTP)
| CVE | CVE-2014-2950, CVE-2014-2951 |
|---|---|
| Severity | critical · CVSS 10.0 |
| Category | default-credentials — Default credentials |
| Services | http, https |
| Detection | set_var, tcp_connect, match, script · highest QoD 97 |
| Feed | tests/vulnerabilities/datum-psm/datum-psm-default-credentials.yaml |
Datum Systems PSM-500 and PSM-4500 satellite modems running SnIP ship a web administrator account admin with the publicly documented password admin. The check logs in with HTTP Basic admin:admin and confirms it reaches the authenticated system-status page (/sys-status.html), then makes sure a random password is rejected so the finding proves the default credential.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET / HTTP/1.0 - Checks
gate.bannerfor(?im)^WWW-Authenticate:\s*Basic realm="SnIP - Raw TCP (TLS on HTTPS), sent verbatim:
GET /sys-status.html HTTP/1.0 - Parses / computes the next value with a Rhai script
- Parses / computes the next value with a Rhai script
- Raw TCP (TLS on HTTPS), sent verbatim:
GET /sys-status.html HTTP/1.0 - Parses / computes the next value with a Rhai script
- Checks
login.bannerfor^HTTP/1\.[01] 200→ finding QoD 97: Logged in to the Datum Systems SnIP web interface with the default credential admin/admin: /sys-status.html returned the authenticated stat…
References:
Feed source — tests/vulnerabilities/datum-psm/datum-psm-default-credentials.yaml
# Datum Systems PSM-500 / PSM-4500 satellite modems (SnIP firmware) — default
# admin:admin web account (CVE-2014-2951, CERT/CC VU#917348). CVE-2014-2950 (FTP
# open without credentials on the same modems) is listed by the NASL and kept
# for tracking, but is not probed here.
#
# Ported from OpenVAS/Greenbone NVT 2014/gb_datum_systems_psm_mult_vuln.nasl
# (OID 1.3.6.1.4.1.25623.1.0.804477, GPL-2.0-only):
# 1. Product gate: GET / must answer with `WWW-Authenticate: Basic realm="SnIP`.
# 2. GET /sys-status.html with `Authorization: Basic admin:admin` must answer
# HTTP 200 with "LAN Ethernet", ">SnIP Ver:<" and "HDLC_IPADDR" — the
# authenticated system-status page, a read-only post-login proof.
#
# Deviation from the NASL (stronger detection, stated in the PR):
# * Accept-any-password control: after the default login worked, the same
# page is requested with admin and a random password. If that also returns
# the status page, the server does not check passwords at all (honeypot,
# broken auth) and the feed reports nothing.
# The control is only sent after the default login succeeded, so a patched
# modem sees exactly one failed login.
#
# Nothing is changed on the modem.
uid: b59cfe3e-5cbe-4aa1-8042-0cbc1add42b2
name: "Datum Systems PSM Satellite Modem Default Credentials (HTTP)"
description: |
Datum Systems PSM-500 and PSM-4500 satellite modems running SnIP ship a web
administrator account admin with the publicly documented password admin.
The check logs in with HTTP Basic admin:admin and confirms it reaches the
authenticated system-status page (/sys-status.html), then makes sure a random
password is rejected so the finding proves the default credential.
cves: [CVE-2014-2950, CVE-2014-2951]
cvss: 10.0
severity: critical
category: default-credentials
confidence_base: 0.30
tags: [openvas-migrated, datum-systems, satellite-modem, snip, default-credentials, http]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2014-2950"
- "https://nvd.nist.gov/vuln/detail/CVE-2014-2951"
- "OpenVAS/Greenbone NASL 2014/gb_datum_systems_psm_mult_vuln.nasl (GPL-2.0-only)"
steps:
- id: init-product
action: set_var
var_name: product
var_value: false
- id: init-authed
action: set_var
var_name: authed
var_value: false
- id: init-anycred
action: set_var
var_name: anycred
var_value: false
# Pre-init the stored results the scripts read: a failed connection leaves
# store_as unset and an undefined variable would abort the test.
- id: init-login
action: set_var
var_name: login
var_value: {banner: null}
- id: init-ctrl
action: set_var
var_name: ctrl
var_value: {banner: null}
# 1. Product gate — the SnIP Basic-auth realm on the root page (NASL banner check).
- id: gate-probe
action: tcp_connect
port: "{{port}}"
send: "GET / HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
store_as: gate
- id: gate-match
action: match
source: gate.banner
pattern: '(?im)^WWW-Authenticate:\s*Basic realm="SnIP'
on_match:
set_vars:
product: true
# 2. Default login on the system-status page.
- id: login
action: tcp_connect
port: "{{port}}"
send: "GET /sys-status.html HTTP/1.0\r\nHost: {{target_host}}\r\nAuthorization: Basic YWRtaW46YWRtaW4=\r\n\r\n"
store_as: login
condition: "product"
- id: login-check
action: script
code: |
let b = login.banner;
type_of(b) == "string"
&& ereg("^HTTP/1\\.[01] 200", b)
&& b.contains("LAN Ethernet")
&& b.contains(">SnIP Ver:<")
&& b.contains("HDLC_IPADDR")
store_as: authed
condition: "product"
# 3. Control — admin with a random password must be refused.
- id: control-auth
action: script
code: 'base64_encode("admin:" + rand_hex(8))'
store_as: bad_auth
condition: "authed"
- id: control
action: tcp_connect
port: "{{port}}"
send: "GET /sys-status.html HTTP/1.0\r\nHost: {{target_host}}\r\nAuthorization: Basic {{bad_auth}}\r\n\r\n"
store_as: ctrl
condition: "authed"
- id: control-check
action: script
code: |
let b = ctrl.banner;
type_of(b) == "string"
&& ereg("^HTTP/1\\.[01] 200", b)
&& b.contains("HDLC_IPADDR")
store_as: anycred
condition: "authed"
- id: detect-default
action: match
source: login.banner
pattern: '^HTTP/1\.[01] 200'
condition: "authed && !anycred"
on_match:
finding:
confidence_delta: 0.65
qod: 97
evidence: "Logged in to the Datum Systems SnIP web interface with the default credential admin/admin: /sys-status.html returned the authenticated status page (LAN Ethernet, SnIP Ver, HDLC_IPADDR) while a random password was refused."
stop: true