Advisory
SAP takes the security of its vast product portfolio very seriously and thus releases security fixes for
vulnerabilities reported by external researchers and their customers every second Tuesday of the month.
SAP Note 2736825
was released on
12.03.2019 and deals with
"[CVE-2019-0271] Denial of Service via XML External Entity (XXE) vulnerability in ABAP Server" within ABAP.
We advice you to follow the instructions, to resolve
external entity tunneling (xxe)
with a
medium potential for exploitation
in component BC-ABA-XML.
According to SAP Security Advisory team a workaround exists. It is advisable to implement the correction as project.
Missing authority checks are still the most common security defect related to authorizations in custom code. Since SAP uses an explicit authorization model, an authority checks must be coded in order to be executed. If an explicit check is not coded, all users have access. This type of vulnerability not only exists in SAP standard it also exists in customer coding. Check your custom developments for vulnerabilities that pose a risk to your systems. SecurityBridge helps detect code vulnerabilities before they are implemented in production.
Risk specification
ABAP Server (used in NetWeaver and Suite/ERP) does not sufficiently validate an XML document accepted from an untrusted source.Solution
The kernel provides profile parameters ixml/dtd_restriction and ixml/xml_expansion_factor to control the behavior of the iXML Toolset. By setting ixml/dtd_restriction value to "expansion", iXML Toolset may handle such error situations gracefully by not stopping the application and delegating the error handling to the application. Alternativly, the consulting team has proposed the following: "Filter engine on IDS/IPS/firewall systems screening for bogus external entity requests.". The suggestion may be considered, as a workaround or compensating mitigation. We recommend installing/applying the correction wherever possible and as soon as possible. Base your decision on whether or not to apply the patch on your companies and systems risk perspective and consider the provided CVSS 6.5 score.
Affected System
The advisory 2736825 describes a problem within an ABAP based systems of a specific version. Affected versions are described below. ABAP software is deployed in various software components and is widely used within the SAP product portfolio.
SAP NetWeaver Application Server (formally known as SAP Web Application Server) is a building block of SAP NetWeaver. It is the foundation for most software products developed by SAP SE. SAP NetWeaver systems exist with Java and/or ABAP stacks. The advisory could be relevant for single and dual-stack ABAP installations.
The advisory is valid for
- KRNL32NUC 7.21 5
- KRNL32NUC 7.21EXT 5
- KRNL32NUC 7.22 5
- KRNL32NUC 7.22EXT 5
- KRNL32UC 7.21 5
- KRNL32UC 7.21EXT 5
- KRNL32UC 7.22 5
- KRNL32UC 7.22EXT 5
- KRNL64NUC 7.21 5
- KRNL64NUC 7.21EXT 5
- KRNL64NUC 7.22 31
- KRNL64NUC 7.22EXT 31
- KRNL64NUC 7.49 24
- KRNL64UC 7.21 5
- KRNL64UC 7.21EXT 5
- KRNL64UC 7.22 31
- KRNL64UC 7.22EXT 31
- KRNL64UC 7.49 24
- KERNEL 7.21-7.22 5
- KERNEL 7.45
- KERNEL 7.49 23
- KERNEL 7.53 38
- 9.8 Potential XML External Entity Injection Vulnerability in SAP Environmental Compliance
- 9.6 [CVE-2020-26831] Missing XML Validation in SAP BusinessObjects Business Intelligence Platform (Crystal Report)
- 9.3 [CVE-2020-6238] Missing XML Validation vulnerability in SAP Commerce
- 8.7 [CVE-2021-27635] Missing XML Validation in SAP NetWeaver AS for JAVA
- 8.6 [CVE-2024-24743] XXE vulnerability in SAP NetWeaver AS Java (Guided Procedures)