SAP Front End applications (SAPGui.exe) are vulnerable to DLL hijacking attacks allowing for remote code execution.
28ae63b22ea645e5c51c549e98085f2be91b625a787181783ae2e6a8a3c0929e
[DSECRG-11-014] SAP GUI (sapgui) - DLL hijacking
SAP Front End applications (SAPGui.exe) are vulnerable to DLL hijacking attacks. It makes possible to remote code execution
Digital Security Research Group [DSecRG] Advisory DSecRG-11-014 (Internal DSecRG-00183)
Application: SAP GUI
Versions Affected: 6.4 - 7.2
Vendor URL: http://www.sap.com
Bugs: DLL hijacking
Exploits: YES
Reported: 24.08.2010
Vendor response: 26.08.2010
Date of Public Advisory: 09.03.2011
CVE-number:
Author: Alexey Sintsov, Alexandr Polyakov
Digital Security Research Group [DSecRG] (research [at] dsecrg [dot] com)
Description
***********
SAP Front End applications (SAPGui.exe) are vulnerable to DLL hijacking attacks. It makes possible to remote code execution.
Details
*******
Attacker can place shortcuts for SAP GUI (.sap) on his share directory. In the same directory he place DLL's with evil code.
Name of DLL will be MFC80RUS.DLL(for Russian systems) or MFC80LOC.DLL for SAPGui.exe. Than attacker get link to shortcut to a victim. When victim try to open shortcuts, SAP application try to load it DLL's from working dir that is attacker share directory. So attacker's DLL's will be loaded by victim and evil code from this libraries will be executed. It is because SAPGui.exe and BExAnalyzer.exe try to find the directory in work path before system directories.
References
**********
http://dsecrg.com/pages/vul/show.php?id=314
http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/c05604f6-4eb3-2d10-eea7-ceb666083a6a
https://service.sap.com/sap/support/notes/1511179
Fix Information
*************
Solution to this issue is given in the 1511179 security note.
About
*****
Digital Security:
Is one of the leading IT security companies in CEMEA, providing information security consulting, audit and penetration testing services, ERP and SAP security assessment, certification for ISO/IEC 27001:2005 and PCI DSS and PA DSS standards.
Digital Security Research Group:
International subdivision of Digital Security company focused on research and software development for securing business-critical systems like: enterprise applications (ERP,CRM,SRM), technology systems (SCADA, Smart Grid) and banking software. DSecRG developed new product "ERPSCAN security suite for SAP" and service "ERPSCAN Online" which can help customers to perform automated security assessments and compliance checks for SAP solutions.
Contact: research [at] dsecrg [dot] com
http://www.dsecrg.com
http://www.erpscan.com
Polyakov Alexandr. PCI QSA,PA-QSA
CTO Digital Security
Head of DSecRG
______________________
DIGITAL SECURITY
phone: +7 812 703 1547
+7 812 430 9130
e-mail: a.polyakov@dsec.ru
www.dsec.ru
www.dsecrg.com www.dsecrg.ru
www.erpscan.com www.erpscan.ru
www.pcidssru.com www.pcidss.ru
-----------------------------------
This message and any attachment are confidential and may be privileged or otherwise protected
from disclosure. If you are not the intended recipient any use, distribution, copying or disclosure
is strictly prohibited. If you have received this message in error, please notify the sender immediately
either by telephone or by e-mail and delete this message and any attachment from your system. Correspondence
via e-mail is for information purposes only. Digital Security neither makes nor accepts legally binding
statements by e-mail unless otherwise agreed.
-----------------------------------