The Cybersecurity and Infrastructure Security Agency (CISA) is issuing this activity alert in response to recently disclosed exploits that target unsecure configurations of SAP components. 
A presentation at the April 2019 Operation for Community Development and Empowerment (OPCDE) cybersecurity conference describes SAP systems with unsecure configurations exposed to the internet. Typically, SAP systems are not intended to be exposed to the internet as it is an untrusted network. Malicious cyber actors can attack and compromise these unsecure systems with publicly available exploit tools, termed “10KBLAZE.” The presentation details the new exploit tools and reports on systems exposed to the internet.
SAP Gateway ACL
The SAP Gateway allows non-SAP applications to communicate with SAP applications. If SAP Gateway access control lists (ACLs) are not configured properly (e.g., gw/acl_mode = 0), anonymous users can run operating system (OS) commands. According to the OPCDE presentation, about 900 U.S. internet-facing systems were detected in this vulnerable condition.
SAP Router secinfo
The SAP router is a program that helps connect SAP systems with
external networks. The default
for a SAP Gateway allows any internal host to run OS commands
anonymously. If an attacker can access a misconfigured SAP router,
the router can act as an internal host and proxy the attacker’s
requests, which may result in remote code execution.
According to the OPCDE presentation, 1,181 SAP routers were exposed to the internet. It is unclear if the exposed systems were confirmed to be vulnerable or were simply running the SAP router service.
SAP Message Server
SAP Message Servers act as brokers between Application Servers (AS). By default, Message Servers listen on a port 39XX and have no authentication. If an attacker can access a Message Server, they can redirect and/or execute legitimate man-in-the-middle (MITM) requests, thereby gaining credentials. Those credentials can be used to execute code or operations on AS servers (assuming the attacker can reach them). According to the OPCDE presentation, there are 693 Message Servers exposed to the internet in the United States. The Message Server ACL must be protected by the customer in all releases.
CISA worked with security researchers from Onapsis Inc. to develop the following Snort signature that can be used to detect the exploits:
CISA recommends administrators of SAP systems implement the following to mitigate the vulnerabilities included in the OPCDE presentation:
- Ensure a secure configuration of their SAP landscape.
- Restrict access to SAP Message Server.
secinfo) and Message Servers (
ms/acl_info)., Review SAP Note 1421005. Split MS internal/public:
rdisp/msserv=0 rdisp/msserv_internal=39NN. Restrict access to Message Server internal port (
tcp/39NN) to clients or the internet.Enable Secure Network Communications (SNC) for clients.
- Scan for exposed SAP components.
-  Comae Technologies: Operation for Community Development and Empowerment (OPCDE) Cybersecurity Conference Materials
-  SAP: Gateway Access Control Lists
-  Onapsis Inc. website
-  SAP Note 1408081
-  SAP Note 821875
-  SAP Note 1421005
- May 2, 2019: Initial version
This product is provided subject to this Notification and this Privacy & Use policy.