Skybox View — 1 vulnerability check
noctis ships 1 vulnerability check for Skybox View, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Skybox View Appliance Admin Interface Unauthenticated Information Disclosure
| CVE | CVE-2014-2084 |
|---|---|
| Severity | high · CVSS 8.5 |
| Category | auth-bypass — Auth bypass |
| Services | http, https |
| Detection | set_var, http_request, script, match · highest QoD 75 |
| Feed | tests/vulnerabilities/skybox-view/CVE-2014-2084.yaml |
Recognises the Skybox View appliance web administration by the "SkyBox Web Administration" title of its landing page, keeps the anonymous session cookie that page sets, and then requests the administrative command scripts /scripts/commands/getSystemInformation and /scripts/commands/getNetworkConfigurationInfo without logging in. The finding is raised when one of them answers HTTP 200 with the administrative data (the APPLIANCE_VERSION system field or the HardwareAddress network field) instead of the login page. Only the appliance version is reported; network addresses are not copied into the finding. The reboot and shutdown command scripts are never requested.
How noctis detects it
- HTTP(S) request
GET / - HTTP(S) request
GET / - Parses / computes the next value with a Rhai script
- HTTP(S) request
GET /scripts/commands/getSystemInformation?_=111111111 - HTTP(S) request
GET /scripts/commands/getSystemInformation?_=111111111 - HTTP(S) request
GET /scripts/commands/getNetworkConfigurationInfo - HTTP(S) request
GET /scripts/commands/getNetworkConfigurationInfo - Parses / computes the next value with a Rhai script
- Checks
leak.prooffor^admin data returned without login$→ finding QoD 75: Unauthenticated GET … on the SkyBox Web Administration interface at …:… returned the … instead of the login page (appliance version: …; net…
References:
- https://nvd.nist.gov/vuln/detail/CVE-2014-2084
- https://www.exploit-db.com/exploits/33327
- https://www.securityfocus.com/bid/67352
- https://www.skyboxsecurity.com/sites/default/files/file_resources/Skybox_Security_Appliance_Vulnerability.pdf
Feed source — tests/vulnerabilities/skybox-view/CVE-2014-2084.yaml
# Skybox View Appliance — unauthenticated Admin interface information disclosure (CVE-2014-2084)
#
# The appliance's web administration (Admin interface, HTTPS 444 by default) runs
# its "commands" scripts without checking for a logged-in session. On ISO
# 6.3.31-2.14, 6.3.33-2.14, 6.4.42-2.54, 6.4.45-2.56 and 6.4.46-2.57,
# /scripts/commands/getSystemInformation?_=<n> (appliance version and status)
# /scripts/commands/getNetworkConfigurationInfo (interfaces, IP and MAC addresses)
# answer an anonymous browser. The same flaw exposes scripts/commands/reboot and
# scripts/commands/shutdown (CVE-2014-2085) — this feed never requests those.
#
# Ported from OpenVAS/Greenbone NASL
# 2014/gb_skybox_security_appliance_info_disclosure_05_14.nasl
# (OID 1.3.6.1.4.1.25623.1.0.105027, GPL-2.0-only): same landing-page gate
# ("<title>SkyBox Web Administration"), same anonymous session cookie taken from
# the landing page, same two URLs and the same markers (APPLIANCE_VERSION,
# HardwareAddress). Request shape cross-checked with Exploit-DB 33327.
#
# Real exploitation, read-only: reading the admin data without logging in IS the
# exploit. Only the appliance version string (when present) reaches the finding;
# no interface, IP or MAC address is copied (the match step reads a fixed text).
#
# Better than the NASL:
# - the landing page is read with redirects followed, so an appliance whose /
# redirects to its login page is still recognised, and a session cookie set
# on that redirect (first hop) is kept too;
# - a command reply only counts with HTTP 200 and when it is not the login page
# itself (a login form served in place of the data is never a hit);
# - when the landing page sets no cookie, the commands are requested without one
# instead of with an empty Cookie header.
#
# Engine limit: http_request keeps only the last Set-Cookie header of a reply, so
# a landing page that sets the session cookie and then another cookie loses the
# session one.
uid: 9ea93793-41be-475b-81f9-2864799f846a
name: "CVE-2014-2084 — Skybox View Appliance Admin Interface Unauthenticated Information Disclosure"
description: |
Recognises the Skybox View appliance web administration by the
"SkyBox Web Administration" title of its landing page, keeps the anonymous
session cookie that page sets, and then requests the administrative command
scripts /scripts/commands/getSystemInformation and
/scripts/commands/getNetworkConfigurationInfo without logging in. The finding
is raised when one of them answers HTTP 200 with the administrative data
(the APPLIANCE_VERSION system field or the HardwareAddress network field)
instead of the login page. Only the appliance version is reported; network
addresses are not copied into the finding. The reboot and shutdown command
scripts are never requested.
cves: [CVE-2014-2084]
cvss: 8.5
severity: high
category: auth-bypass
confidence_base: 0.30
tags: [skybox, skybox-view, appliance, admin-interface, missing-authentication, information-disclosure, openvas]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2014-2084"
- "https://www.exploit-db.com/exploits/33327"
- "https://www.securityfocus.com/bid/67352"
- "https://www.skyboxsecurity.com/sites/default/files/file_resources/Skybox_Security_Appliance_Vulnerability.pdf"
- "OpenVAS/Greenbone NASL 2014/gb_skybox_security_appliance_info_disclosure_05_14.nasl (OID 1.3.6.1.4.1.25623.1.0.105027, GPL-2.0-only)"
steps:
# 0 — pre-init every stored result: a failed request never sets its store_as,
# and the scripts would otherwise abort on an undefined variable.
- id: init-home
action: set_var
var_name: home
var_value: ""
- id: init-hop
action: set_var
var_name: hop
var_value: ""
- id: init-sys
action: set_var
var_name: sys
var_value: ""
- id: init-net
action: set_var
var_name: net
var_value: ""
# 1 — landing page: product gate + the anonymous session cookie it sets. The
# first hop is read on its own so a cookie set on a redirect is not lost.
- id: landing-hop
action: http_request
method: GET
path: "/"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: hop
- id: landing
action: http_request
method: GET
path: "/"
port: "{{port}}"
tls_insecure: true
follow_redirects: true
timeout_secs: 10
store_as: home
- id: gate
action: script
code: |
let g = #{ skybox: false, cookie: "" };
if type_of(home) == "map" && type_of(home.body) == "string" {
g.skybox = egrep("(?i)<title>\\s*SkyBox Web Administration", home.body) != "";
}
for r in [hop, home] {
if g.cookie == "" && type_of(r) == "map" {
let sc = r.headers["set-cookie"];
if type_of(sc) == "string" {
let m = eregmatch("^\\s*([^=;\\s]+=[^;]*)", sc);
if m.len() > 1 { g.cookie = m[1]; }
}
}
}
g
store_as: gate
# 2 — system information (version / status), with or without the cookie.
- id: sysinfo-cookie
action: http_request
condition: 'gate.skybox == true && gate.cookie != ""'
method: GET
path: "/scripts/commands/getSystemInformation?_=111111111"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Cookie: "{{gate.cookie}}"
store_as: sys
- id: sysinfo
action: http_request
condition: 'gate.skybox == true && gate.cookie == ""'
method: GET
path: "/scripts/commands/getSystemInformation?_=111111111"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: sys
# 3 — network configuration (interfaces, addresses).
- id: netinfo-cookie
action: http_request
condition: 'gate.skybox == true && gate.cookie != ""'
method: GET
path: "/scripts/commands/getNetworkConfigurationInfo"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Cookie: "{{gate.cookie}}"
store_as: net
- id: netinfo
action: http_request
condition: 'gate.skybox == true && gate.cookie == ""'
method: GET
path: "/scripts/commands/getNetworkConfigurationInfo"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: net
# 4 — decide. A reply counts only with HTTP 200, the admin marker, and not the
# login page. Only the version string and a fixed text leave this step.
- id: parse
action: script
code: |
let out = #{ leaked: false, path: "", what: "", version: "", proof: "" };
let ok = |r, marker| {
type_of(r) == "map" && r.status == 200 && type_of(r.body) == "string"
&& egrep(marker, r.body) != ""
&& egrep("(?i)<title>\\s*SkyBox Web Administration", r.body) == ""
};
if ok.call(sys, "\\bAPPLIANCE_VERSION\\b") {
out.leaked = true;
out.path = "/scripts/commands/getSystemInformation?_=111111111";
out.what = "appliance system information (APPLIANCE_VERSION)";
let v = eregmatch("APPLIANCE_VERSION[\"'>]?\\s*[:=]?\\s*[\"']?([0-9][0-9A-Za-z._-]{0,40})", sys.body);
if v.len() > 1 { out.version = v[1]; }
} else if ok.call(net, "\\bHardwareAddress\\b") {
out.leaked = true;
out.path = "/scripts/commands/getNetworkConfigurationInfo";
out.what = "appliance network configuration (HardwareAddress)";
}
if out.leaked {
out.proof = "admin data returned without login";
if out.version == "" { out.version = "not shown"; }
}
out
store_as: leak
# 5 — report on the fixed text; no address reaches the finding.
- id: confirm
action: match
condition: "leak.leaked == true"
source: leak.proof
pattern: "^admin data returned without login$"
on_match:
finding:
confidence_delta: 0.55
qod: 75
evidence: "Unauthenticated GET {{leak.path}} on the SkyBox Web Administration interface at {{target_host}}:{{port}} returned the {{leak.what}} instead of the login page (appliance version: {{leak.version}}; network addresses withheld)."
remediation: "Apply the Skybox security update for the View appliance (Security Advisory 2014-3-25-1) and restrict the appliance's administration port (444) to trusted management hosts."
stop: true