Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

Directory traversal in /CCEE/SIFI_RFEBBART01, SAP security note 1961995

SAP Note 1961995

SAP security note 1961995, "Directory Traversal Vulnerability in /CCEE/SIFI_RFEBBART01", is a note. Below are the symptom and SAP recommended solution.

Description

Symptom

/CCEE/SIFI_RFEBBART01 contains a vulnerability through which an attacker can potentially read arbitrary files on the remote server, possibly disclosing confidential information.

/CCEE/SIFI_RFEBBART01 contains a vulnerability through which an attacker can potentially write arbitrary files to the remote server, possibly corrupting data or altering system behavior.

Solution

As a general rule, SAP recommends installing a solution by applying a Support Package. However, if you need to install a solution earlier, use the Note Assistant and follow the instructions below:

  • Apply manual corrections as given in the attachment.
  • Apply code correction instructions from the note using transaction SNOTE.
  • For additional information and instructions see Note 1497003. The corrections from Note 1497003 are a prerequisite for implementing this note.

The following logical file name has been created to enable the validation of physical file names: /CCEE/SIFI

Recommendations for setting up logical file names: to avoid maintaining a high number of logical file names, some programs share the same logical file name. Using the same logical file name for various programs creates dependencies among these programs. To securely separate data created by different users and different programs, try to create a directory structure that reflects the user name and/or program name and use this information when setting up the physical path and file names for the logical file paths and file names.

Reason and prerequisites

/CCEE/SIFI_RFEBBART01 fails to correctly validate the path used to reference a file read from the remote server. As a result, an attacker can potentially direct the program to an arbitrary other file in the system, disclosing its contents.

/CCEE/SIFI_RFEBBART01 fails to correctly validate the path to which a user-submitted file is written. As a result, an attacker can potentially overwrite data in the remote system.

Full note on SAP: SAP Support Launchpad note 1961995

Detailed exploitation and proof-of-concept material for this note is maintained in the RedRays Security Platform. For access, contact [email protected].

Explore More