CVE-2022-28217 - Missing XML Validation

Severity

65%

Complexity

27%

Confidentiality

60%

Some part of SAP NetWeaver (EP Web Page Composer) does not sufficiently validate an XML document accepted from an untrusted source, which allows an adversary to exploit unprotected XML parking at endpoints, and a possibility to conduct SSRF attacks that could compromise system’s Availability by causing system to crash.

Some part of SAP NetWeaver (EP Web Page Composer) does not sufficiently validate an XML document accepted from an untrusted source, which allows an adversary to exploit unprotected XML parking at endpoints, and a possibility to conduct SSRF attacks that could compromise system?s Availability by causing system to crash.

CVSS 3.1 Base Score 6.5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

CVSS 2.0 Base Score 4. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:S/C:N/I:N/A:P).

Demo Examples

Missing XML Validation

CWE-112

The following code loads and parses an XML file.


               
}// Read DOM
c_dom = factory.newDocumentBuilder().parse( xmlFile );
...

The XML file is loaded without validating it against a known XML Schema or DTD.

Missing XML Validation

CWE-112

The following code creates a DocumentBuilder object to be used in building an XML document.


               
DocumentBuilder builder = builderFactory.newDocumentBuilder();

The DocumentBuilder object does not validate an XML document against a schema, making it possible to create an invalid XML document.

Overview

Type

SAP

First reported 2 years ago

2022-06-13 17:15:00

Last updated 2 years ago

2022-07-06 17:15:00

Affected Software

SAP NetWeaver 7.30

7.30

SAP Netweaver 7.31

7.31

SAP Netweaver 7.40

7.40

SAP Netweaver 7.20

7.20

SAP Netweaver 7.50

7.50

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.