[ERPSCAN-17-017] SAP NetWeaver AS JAVA 7.3 AS JAVA XSS in ctcprotocol/Protocol servlet

Application: SAP NetWeaver AS JAVA
Versions Affected: SAP NetWeaver AS JAVA 7.3
Vendor URL: SAP
Bugs: XXS
Reported: 13.12.2016
Vendor response: 14.12.2016
Date of Public Advisory: 11.04.2017
Reference: SAP Security Note 2406783
Author: Vahagn Vardanyan (ERPScan)

VULNERABILITY INFORMATION

Class: XSS
Impact: XSS on SAP NetWeaver AS JAVA
Remotely Exploitable: yes
Locally Exploitable: no
CVE Name: CVE-2017-11458

CVSS Information

CVSS v3 Base Score: 6.3 / 10
CVSS v3 Base Vector:

AV: Attack Vector (Related exploit range) Network (N)
AC: Attack Complexity (Required attack complexity) Low (L)
PR: Privileges Required (Level of privileges needed to exploit) Low (L)
UI: User Interaction (Required user participation) Required (R)
S: Scope (Change in scope due to impact caused to components beyond the vulnerable component) Unchanged (U)
C: Impact to Confidentiality High (H)
I: Impact to Integrity Low (L)
A: Impact to Availability None (N)

Description

An attacker can use a special HTTP request to hijack session data of administrators or users of the web resource.

Business risk

An attacker can use a Cross-Site Scripting vulnerability for injecting a malicious script into a page. The malicious script can access all cookies, session tokens and other critical information stored by a browser and used for interaction with a web application. An attacker can gain access to the user session and learn business critical information, in some cases, it is possible to get control over this information. Also, XSS can be used for unauthorized modifying of displayed content.

VULNERABLE PACKAGES

SAP NetWeaver 7.3

SOLUTIONS AND WORKAROUNDS

To correct this vulnerability, install SAP Security Note 2406783

TECHNICAL DESCRIPTION

Proof of Concept