[ERPSCAN-15-009] SAP Afaria 7 XcListener - Missing authorization- check

From: Darya Maenkova <d.maenkova@erpscan.com>
To: pen-test@securityfocus.com,bugtraq@securityfocus.com,bugs@securitytracker.com
Cc:
Subject: [ERPSCAN-15-009] SAP Afaria 7 XcListener - Missing authorization- check
Date:


ERPSCAN Research Advisory [ERPSCAN-15-009] SAP Afaria 7 XcListener - 
Missing authorization check

Application:            SAP Afaria 7
Versions Affected:        SAP Afaria 7, probably others
Vendor URL:            http://SAP.com
Bugs:                Missing authorization check
Sent:                09.12.2014
Reported:            09.12.2014
Vendor response:                10.12.2014
Date of Public Advisory:        18.06.2015
Reference:            SAP Security Note 2134905
Author:                Vahagn Vardanyan (ERPScan)


Description


1. ADVISORY INFORMATION
Title: SAP Afaria 7 XcListener - Missing authorization check
Advisory ID: [ERPSCAN-15-009]
Risk: High
Advisory URL: 
http://erpscan.com/advisories/erpscan-15-009-sap-afaria-7-xclistener-missing-authorization-check/
Date published: 15.03.2015
Vendors contacted: SAP


2. VULNERABILITY INFORMATION
Class: DoS [CWE-862]
Impact: DoS
Remotely Exploitable: Yes
Locally Exploitable: No
CVE Name: CVE-2015-2816


3. VULNERABILITY DESCRIPTION
An attacker can use a missing authorization check to access the service 
without any authorization procedures and use service functionality that 
has restricted access. This can lead to information disclosure, 
privilege escalation, and other attacks.


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


5. SOLUTIONS AND WORKAROUNDS
A vulnerability has been discovered in certain landscape configurations 
of SAP Afaria that utilize XcListener for initiating client-to-server 
communications.  SAP has released security patches for the vulnerable 
clients, Windows Mobile, Windows CE, and Windows. Windows Phone is not 
affected. SAP strongly recommends that customers patch their servers.
To be vulnerable, XcListener must be an active process. The Windows 
client enrollment policy allows administrators to enable/disable 
XcListener with the advanced option \u20ac\u0153Outbound listener and firewall\u20ac. 
XCListener listens to the port 3005. If the port 3005 is not exposed 
externally, then the vulnerability is only accessible locally on the 
machine.

Patching instructions:
1)          Download hotfix
     - SAP Afaria 7 SP5 Hotfix 8
     - SAP Afaria 7 SP4 Hotfix 16
2)          Apply server hotfix
The server version of XcListener will be patched when the hotfix is 
applied. The clients will be updated through the Afaria ESD process as 
they connect to the server.


6. AUTHOR
Vahagn Vardanyan (ERPScan)


7. TECHNICAL DESCRIPTION
An anonymous attacker can use a special request to crash the Sybase SQL 
Anywhere process on the server.


8. REPORT TIMELINE
Sent:                09.12.2014
Reported:                       09.12.2014
Vendor response:                10.12.2014
Date of Public Advisory:        18.06.2015


9. REFERENCES
http://erpscan.com/advisories/erpscan-15-009-sap-afaria-7-xclistener-missing-authorization-check/


10. ABOUT ERPScan Research
The company\u20ac\u2122s expertise is based on the research subdivision of ERPScan, 
which is engaged in vulnerability research and analysis of critical 
enterprise applications. It has achieved multiple acknowledgments from 
the largest software vendors like SAP, Oracle, Microsoft, IBM, VMware, 
HP for discovering more than 400 vulnerabilities in their solutions (200 
of them just in SAP!).
ERPScan researchers are proud to have exposed new types of 
vulnerabilities (TOP 10 Web Hacking Techniques 2012) and to be nominated 
for the best server-side vulnerability at BlackHat 2013.
ERPScan experts have been invited to speak, present, and train at 60+ 
prime international security conferences in 25+ countries across the 
continents. These include BlackHat, RSA, HITB, and private SAP trainings 
in several Fortune 2000 companies.
ERPScan researchers lead the project EAS-SEC, which is focused on 
enterprise application security research and awareness. They have 
published 3 exhaustive annual award-winning surveys about SAP security.
ERPScan experts have been interviewed by leading media resources and 
featured in specialized info-sec publications worldwide. These include 
Reuters, Yahoo, SC Magazine, The Register, CIO, PC World, DarkReading, 
Heise, and Chinabyte, to name a few.
We have highly qualified experts in staff with experience in many 
different fields of security, from web applications and mobile/embedded 
to reverse engineering and ICS/SCADA systems, accumulating their 
experience to conduct the best SAP security research.


11. ABOUT ERPScan
ERPScan is one of the most respected and credible Business Application 
Security providers. Founded in 2010, the company operates globally. 
Named an Emerging vendor in Security by CRN and distinguished by more 
than 25 other awards, ERPScan is the leading SAP SE partner in 
discovering and resolving security vulnerabilities. ERPScan consultants 
work with SAP SE in Walldorf to improve the security of their latest 
solutions.
ERPScan\u20ac\u2122s primary mission is to close the gap between technical and 
business security. We provide solutions to secure ERP systems and 
business-critical applications from both cyber attacks and internal 
fraud. Our clients are usually large enterprises, Fortune 2000 
companies, and managed service providers whose requirements are to 
actively monitor and manage the security of vast SAP landscapes on a 
global scale.
Our flagship product is ERPScan Security Monitoring Suite for SAP. This 
multi award-winning innovative software is the only solution on the 
market certified by SAP SE covering all tiers of SAP security: 
vulnerability assessment, source code review, and Segregation of Duties. 
The largest companies from diverse industries like oil and gas, banking, 
retail, even nuclear power installations as well as consulting companies 
have successfully deployed the software. ERPScan Security Monitoring 
Suite for SAP is specifically designed for enterprises to continuously 
monitor changes in multiple SAP systems. It generates and analyzes 
trends in user friendly dashboards, manages risks, tasks, and can export 
results to external systems. These features enable central management of 
SAP system security with minimal time and effort.
We follow the sun and function in two hubs located in the Netherlands 
and the US to operate local offices and partner network spanning 20+ 
countries around the globe. This enables monitoring cyber threats in 
real time and providing agile customer support.

Address USA: 228 Hamilton Avenue, Fl. 3, Palo Alto, CA, 94301
Phone: 650.798.5255
Twitter: @erpscan
Scoop-it: Business Application Security
http://erpscan.com





Copyright © 1995-2018 LinuxRocket.net. All rights reserved.