Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

Directory traversal with unauthorized modification in BW, SAP security note 1658759

SAP Note 1658759
SAP Security Note
High priority

SAP security note 1658759, “Directory traversal with unauthorized modification in BW”, is a program error note released on 08.05.2012. Below are the symptom and SAP recommended solution.

ComponentSAP Business Warehouse > Business Explorer > Enduser Technology > BEx Web ABAP Runtime
CategoryProgram error
PriorityCorrection with high priority
TypeSAP Security Note
Version3
StatusReleased for Customer
Released on08.05.2012
LanguageEnglish

Description

Symptom

BW-BEX-ET-WEB contains a vulnerability that allows a malicious user to read arbitrary files. This can be exploited to modify displayed application content without authorization and potentially obtain authentication information from other legitimate users.

Solution

Implement the correction by updating the HTTP_WHITELIST table as described in SAP Note 1594641 for an entry of type 01 for Portal CSS Theme-URL. If the provided stylesheet URL is not in the whitelist, an ABAP runtime error will be generated. Customers must add the allowed URLs for the stylesheet to the HTTP_WHITELIST table.

Before proceeding, ensure you check SAP Note 875986 for transaction SNOTE.

Reason and prerequisites

Pages within BW-BEX-ET-WEB fail to correctly validate the URL path used to reference a file. As a result, a malicious user can direct the program to an arbitrary file in the system, leading to reflected XSS issues. This vulnerability can be used to deface or modify displayed content, steal user authentication information, and potentially allow impersonation of users, including administrators, thereby compromising application security.

Full note on SAP: SAP Support Launchpad note 1658759

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

Explore More