PoC Monitor
← All CVEs
CVE-2020-6287published 14 Jul 2020 12:30 UTCData: JSON · API

SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard)

SAP NetWeaver Missing Authentication for Critical Function Vulnerability

SAP NetWeaver AS JAVA (LM Configuration Wizard), versions - 7.30, 7.31, 7.40, 7.50, does not perform an authentication check which allows an attacker without prior authentication to execute configuration tasks to perform critical actions against the SAP Java system, including the ability to create an administrative user, and therefore compromising Confidentiality, Integrity and Availability of the system, leading to Missing Authentication Check.

First public PoC 1.1 daysafter publication · 15 Jul 2020
Public PoCs86 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-306
CISA KEV 3 Nov 20211.3 years after publication

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300+360+420CVE published14 Jul 2020 · t = 0First public PoC15 Jul 2020 · t+1.1dAdded to CISA KEV3 Nov 2021 · t+1.3y

First public PoC 1.1 days after publication; added to CISA KEV 1.3 years after publication. First PoC: chipik/SAP_RECON (created 15 Jul 2020, found by us: backfilled).

PoC repositories

Found on GitHub.

6 PoCs · 1 informational

PoCs 6
RepositoryCreatedStarsAssessment
chipik/SAP_RECON 15 Jul 2020 +1.1 d 223 PoC
duc-nt/CVE-2020-6287-exploit 20 Jul 2020 +6.3 d 96 PoC
Onapsis/CVE-2020-6287_RECON-scanner 21 Jul 2020 +6.5 d 27 Scanner
murataydemir/CVE-2020-6287 13 Aug 2020 +30 d 13 PoC via PoC Index
qmakake/SAP_CVE-2020-6287_find_mandate 7 Apr 2023 +2.7 y 0 PoC
dylvie/CVE-2020-6287_SAP-NetWeaver-bypass-auth 7 Oct 2024 +4.2 y 1 PoC
Informational 1
RepositoryCreatedStarsAssessment
ynsmroztas/CVE-2020-6287-Sap-Add-User 22 Jul 2020 +8.2 d 2 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 6 PoC repos

POST /CTCWebService/CTCWebServiceBean/ConfigServlet

Key headers
Accept: */* Soapaction:
Body markers
<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:urn=\"urn:CTCWebServiceSi\"> <so in text/xml;charset=UTF-8
PoC User-Agent
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 CVE-2020-6287 PoC
Seen in
1 repo: murataydemir/CVE-2020-6287
Evidence
murataydemir/CVE-2020-6287/README.md:27 murataydemir/CVE-2020-6287/README.md:94

GET /CTCWebService/CTCWebServiceBean

Query
wsdl=
Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Upgrade-Insecure-Requests: 1
Content-Type
text/xml;charset=UTF-8
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.3
Seen in
1 repo: duc-nt/CVE-2020-6287-exploit
Evidence
duc-nt/CVE-2020-6287-exploit/sap-CVE-2020-6287-add-user.py:11

POST /CTCWebService/CTCWebServiceBean

Query
wsdl=
Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Upgrade-Insecure-Requests: 1
Body markers
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:CTCWebServiceSi"> <soapenv:H in text/xml;charset=UTF-8
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.3
Seen in
1 repo: duc-nt/CVE-2020-6287-exploit
Evidence
duc-nt/CVE-2020-6287-exploit/sap-CVE-2020-6287-add-user.py:30

POST /sap/bc/gui/sap/its/webgui

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Cookie: /tmp/.cook Origin: http://{var}:{var} Referer: http://{var}:{var}/sap/bc/gui/sap/its/webgui Upgrade-Insecure-Requests: 1
Body markers
FOCUS_ID=sap-user sap-system-login-oninputprocessing=onLogin sap-urlscheme= sap-system-login=onLogin sap-system-login-basic_auth= sap-accessibility= sap-login-XSRF= sap-system-login-cookie_disabled= sysid= sap-client= sap-user= sap-password= sap-language=EN sap-language-dropdown=English SAPEVENTQUEUE=Form_SubmitnE002Id~E004SL__FORM~E003~E002ClientAction~E004submit~E005ActionUrl~E004~E005ResponseData~E004full~E005PrepareScript~E004~E003~E002~E003 in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/6.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Seen in
1 repo: qmakake/SAP_CVE-2020-6287_find_mandate
Evidence
qmakake/SAP_CVE-2020-6287_find_mandate/checker_CVE-2020-6287.sh:25

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /CTCWebService/CTCWebServiceBean/ConfigServlet
(?i)^/CTCWebService/CTCWebServiceBean/ConfigServlet(?:[?#].*)?$
GET /CTCWebService/CTCWebServiceBean
(?i)^/CTCWebService/CTCWebServiceBean\?(?:.*&)?wsdl=
GET /tmp/.cook
(?i)^/tmp/\.cook(?:[?#].*)?$
POST /CTCWebService/CTCWebServiceBean
(?i)^/CTCWebService/CTCWebServiceBean\?(?:.*&)?wsdl=
POST /sap/bc/gui/sap/its/webgui
(?i)^/sap/bc/gui/sap/its/webgui(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /CTCWebService/CTCWebServiceBean/ConfigServlet
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-6287 SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/CTCWebService/CTCWebServiceBean/ConfigServlet"; http.header; content:"Accept: */*"; nocase; http.header_names; content:"Soapaction"; nocase; http.request_body; content:"<soapenv:Envelope xmlns:soapenv=|5c||22|http://schemas.xmlsoap.org/soap/envelope/|5c||22| xmlns:urn=|5c||22|urn:CTCWebServiceSi|5c||22|>
    <so"; reference:url,poc.griffinguard.io/cve/CVE-2020-6287; classtype:web-application-attack; sid:9872468; rev:1;)
GET /CTCWebService/CTCWebServiceBean
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-6287 SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/CTCWebService/CTCWebServiceBean"; http.uri; content:"wsdl="; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2020-6287; classtype:web-application-attack; sid:9523618; rev:1;)
GET /tmp/.cook
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-6287 SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/tmp/.cook"; reference:url,poc.griffinguard.io/cve/CVE-2020-6287; classtype:web-application-attack; sid:9133011; rev:1;)
POST /CTCWebService/CTCWebServiceBean
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-6287 SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/CTCWebService/CTCWebServiceBean"; http.uri; content:"wsdl="; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"<soapenv:Envelope xmlns:soapenv=|22|http://schemas.xmlsoap.org/soap/envelope/|22| xmlns:urn=|22|urn:CTCWebServiceSi|22|>  <soapenv:H"; reference:url,poc.griffinguard.io/cve/CVE-2020-6287; classtype:web-application-attack; sid:9788692; rev:1;)
POST /sap/bc/gui/sap/its/webgui
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-6287 SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/sap/bc/gui/sap/its/webgui"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Cookie: /tmp/.cook"; nocase; http.header; content:"Origin: http://"; nocase; http.header; content:"Referer: http://"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"FOCUS_ID=sap-user"; http.request_body; content:"sap-system-login-oninputprocessing=onLogin"; http.request_body; content:"sap-urlscheme="; http.request_body; content:"sap-system-login=onLogin"; http.request_body; content:"sap-system-login-basic_auth="; http.request_body; content:"sap-accessibility="; http.request_body; content:"sap-login-XSRF="; http.request_body; content:"sap-system-login-cookie_disabled="; http.request_body; content:"sysid="; http.request_body; content:"sap-client="; http.request_body; content:"sap-user="; http.request_body; content:"sap-password="; http.request_body; content:"sap-language=EN"; http.request_body; content:"sap-language-dropdown=English"; http.request_body; content:"SAPEVENTQUEUE=Form_SubmitnE002Id~E004SL__FORM~E003~E002ClientAction~E004submit~E005ActionUrl~E004~E005ResponseData~E004full~E005PrepareScript~E004~E003~E002~E003"; reference:url,poc.griffinguard.io/cve/CVE-2020-6287; classtype:web-application-attack; sid:9774165; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /CTCWebService/CTCWebServiceBean/ConfigServlet
title: SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt (CVE-2020-6287)
id: gg-pocmon-cve-2020-6287-9872468
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-6287. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-6287
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/CTCWebService/CTCWebServiceBean/ConfigServlet'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.6287
GET /CTCWebService/CTCWebServiceBean
title: SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt (CVE-2020-6287)
id: gg-pocmon-cve-2020-6287-9523618
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-6287. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-6287
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/CTCWebService/CTCWebServiceBean'
    cs-uri-query|contains|all:
      - 'wsdl='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.6287
GET /tmp/.cook
title: SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt (CVE-2020-6287)
id: gg-pocmon-cve-2020-6287-9133011
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-6287. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-6287
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/tmp/.cook'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.6287
POST /CTCWebService/CTCWebServiceBean
title: SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt (CVE-2020-6287)
id: gg-pocmon-cve-2020-6287-9788692
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-6287. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-6287
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/CTCWebService/CTCWebServiceBean'
    cs-uri-query|contains|all:
      - 'wsdl='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.6287
POST /sap/bc/gui/sap/its/webgui
title: SAP SE SAP NetWeaver AS JAVA (LM Configuration Wizard) exploit attempt (CVE-2020-6287)
id: gg-pocmon-cve-2020-6287-9774165
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-6287. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-6287
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/sap/bc/gui/sap/its/webgui'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.6287