SAP security note 1952837, “Directory traversal in /CEECV/ROFI_VIES_394_MERGE_XML”. Below are the symptom and SAP recommended solution.
Description
Symptom
/CEECV/ROFI_VIES_394_MERGE_XML 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 that you install a solution by applying a Support Package. However, if you need to install a solution earlier, use the Note Assistant and follow the described instructions:
- 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: /CEECV/ROFI
Recommendations for setting up logical file names: to avoid maintaining a high number of logical file names, some of the 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.
You can find more information about the Note Assistant in SAP Service Marketplace, under service.sap.com/note-assistant.
Reason and prerequisites
/CEECV/ROFI_VIES_394_MERGE_XML 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 1952837
Detailed exploitation and proof-of-concept material for this note is maintained in the RedRays Security Platform. For access, contact [email protected].



