SAP Security Note
High priority
SAP security note 1522787, "Directory Traversal in BC-SRV-KPR-CMS", is a note released on December 14, 2010. Below are the symptom, SAP recommended solution and the affected software components.
Description
Symptom
BC-SRV-KPR-CMS contains a vulnerability that allows a malicious user to potentially write arbitrary files on the remote server. This can lead to data corruption or alteration of system behavior.
Unauthorized file writing on the server, with possible data corruption or system behavior changes.
Solution
Refer to SAP Note 1497003 for additional information and instructions. The corrections from this note are necessary for the implementation of SAP Note 1522787.
- Logical file name used: KPRO_IMPORT_EXPORT – enables validation of physical file names.
Reason and prerequisites
BC-SRV-KPR-CMS fails to correctly validate the path where a user-submitted file is written, enabling an attacker to overwrite data on the remote system. SAP Note 1497003 is required before implementing this note.
References
- Potential directory traversals in applications (SAP Note 1497003)
- Directory Traversal in BC-SRV-KPR-CMS (SAP Note 1502295)
Affected components
- SAP_BASIS 46B
- SAP_BASIS 46C
- SAP_BASIS 620
- SAP_BASIS 640
- SAP_BASIS 700
- SAP_BASIS 701
- SAP_BASIS 702
- SAP_BASIS 710
- SAP_BASIS 711
- SAP_BASIS 720
- SAP_BASIS 730
Full note on SAP: SAP Support Launchpad note 1522787
Detailed exploitation and proof-of-concept material for this note is maintained in the RedRays Security Platform. For access, contact [email protected].
