Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

Directory Traversal in the RSCRM framework, SAP security note 1584242

SAP Note 1584242

SAP security note 1584242, "Directory Traversal in the RSCRM framework", is a note. Below are the symptom, SAP recommended solution and the affected software components.

Description

Symptom

The RSCRM framework fails to correctly validate the path where a user-submitted file is written. This oversight allows an attacker to potentially overwrite data on the remote system by manipulating file paths.

Solution

To mitigate this vulnerability, apply the appropriate support package for your SAP NetWeaver BW version:

The RSCRM framework now uses the function FILE_VALIDATE_NAME to enhance security. Assign a physical path to the logical path RSCRM_FILE_EXTRACT_PATH in transaction FILE. This ensures that filenames are validated to be within the specified logical path and do not contain unauthorized path segments like "..".

References

Affected components

  • SAP Business Warehouse > Enhanced Infrastructure > Retraction (BW-EI-RTR)
  • SAP NetWeaver BW 7.00
  • SAP NetWeaver BW 7.01
  • SAP NetWeaver BW 7.02
  • SAP NetWeaver BW 7.11
  • SAP NetWeaver BW 7.30

Full note on SAP: SAP Support Launchpad note 1584242

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

Explore More