Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

Cross Site Scripting (XSS), SAP security note 705187

SAP Note 705187
SAP Security Note
Low priority

SAP security note 705187, "Cross Site Scripting (XSS)", is a consulting note released on December 8, 2010. Below are the symptom, SAP recommended solution and the affected software components.

ComponentBusiness Server Pages (BC-BSP)
CategoryConsulting
PriorityCorrection with low priority
TypeSAP Security Note
Version7
StatusReleased for Customer
Released onDecember 8, 2010

Description

Symptom

This security note addresses a Cross Site Scripting (XSS) vulnerability where user entries are not properly encoded, allowing the injection and execution of malicious JavaScript in BSP pages. This can lead to unauthorized access to browser-managed cookies, which can be exploited to transfer cookie contents to another web page.

This security note is obsolete and has been replaced by SAP Notes 822881 and 887168.

Solution

To mitigate this vulnerability, ensure that all user inputs are properly HTML encoded before processing in ABAP. This prevents the execution of malicious scripts. Specific instructions include modifying the ON_REQUEST method of the CL_BSP_RUNTIME class to include form field encoding, as detailed in the note.

References

Affected components

  • SAP_BASIS: from version 620 to 640

Full note on SAP: SAP Support Launchpad note 705187

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

Explore More