Siemens Scalance — 1 vulnerability check

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

← All products · Feeds on GitHub

Siemens Scalance X-200 configuration file download without authentication

CVECVE-2013-5709
Severityhigh · CVSS 8.3
Categoryexposure — Exposure
Serviceshttp, https
Detectiontcp_connect, match · highest QoD 75
Feedtests/vulnerabilities/siemens-scalance/CVE-2013-5709.yaml

Requests /fs/cfgFile.cfg without a valid session and reports when the switch returns its configuration file.

How noctis detects it

  1. Raw TCP (TLS on HTTPS), sent verbatim: GET /fs/cfgFile.cfg HTTP/1.0
  2. Checks resp.banner for (?im)^HTTP/1\.[01] 200[\s\S]*CLI\\SYSTEM → finding QoD 75: Siemens Scalance X-200 served its configuration file /fs/cfgFile.cfg without authentication

References:

Feed source — tests/vulnerabilities/siemens-scalance/CVE-2013-5709.yaml
uid: 5e63d67a-b86e-422e-a06d-77fbc50f1bd5
name: "CVE-2013-5709 — Siemens Scalance X-200 configuration file download without authentication (CVSS 8.3)"
description: "Requests /fs/cfgFile.cfg without a valid session and reports when the switch returns its configuration file."
cves: [CVE-2013-5709]
cvss: 8.3
severity: high
category: exposure
confidence_base: 0.3
tags: [siemens, scalance, info-disclosure]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2013-5709"
  - "OpenVAS NASL 2014/gb_siemens_scalance_62341.nasl (GPL-2.0-only)"
# Ported from OpenVAS/Greenbone NASL 2014/gb_siemens_scalance_62341.nasl (GPL-2.0-only, Greenbone Community Feed).
# Faithful: request the exact NASL URL, then confirm BOTH the response status line and the
# plugin's confirming marker — a bare 200 with no marker does not fire (non-trivial negative).
steps:
  - id: probe
    action: tcp_connect
    port: "{{port}}"
    send: "GET /fs/cfgFile.cfg HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
    store_as: resp

  - id: detect
    action: match
    source: resp.banner
    pattern: '(?im)^HTTP/1\.[01] 200[\s\S]*CLI\\SYSTEM'
    on_match:
      finding:
        confidence_delta: 0.5
        qod: 75
        evidence: "Siemens Scalance X-200 served its configuration file /fs/cfgFile.cfg without authentication"
      stop: true

View these feeds on GitHub