Skip links
Arpine Maghakyan

Arpine Maghakyan

Security Researcher of RedRays.

Cross site scripting in JSF, SAP security note 1252546

Description

This SAP Note describes how to reduce the risk of possible cross-site scripting (XSS) attacks in JSF.

There are two precautions already in place at SAP for XSS prevention in JSF applications, namely the ICM filter mechanism and the SAP component library for JSF.
o ICM filter mechanism
The ICM filter mechanism already provides some protection: by means of a configurable standard pattern filter, the ICM content filter can be configured to block code injection input as for example <script><java script code></script> or javascript:<java script code>
However, the ICM filter mechanism only provides protection in the special case where <script> and javascript keywords are written into the input field directly.
o SAP component library for JSF
The SAP component library for JSF (a. k. a. Light Speed Faces library, LSF) already has built-in support to protect against XSS: By means of the Unified Rendering in LS, the LSF library offers “escaped” (i. e. output encoded), and thus secure counterparts of the writeAttribute methods in Sun’s reference implementation.

Available fix and Supported packages

  • J2EE-FRMW | 7.10 | 7.11

Affected component

    BC-JAS-WEB-JSF
    JavaServer Faces

CVSS

Score: 0

Exploit

Exploit is not available.
For detailed information please contact the mail [email protected].

URL

https://launchpad.support.sap.com/#/notes/1252546

TAGS

#Application-Server-Java
#7.10
#7.11
#EhP1
#CE
#Java-EE
#WebContainer
#JSF
#XSS-attack
#Cross-site-scripting
#NetWeaver

More to explorer

SAP Security For All

RedRays Security Platform for Penetration testers and Bug hunters

The product package is specifically created for cyber security experts who have encountered SAP while participating in bug bounty programs.

RedRays Security Platform for SAP Consultants

The product package is designed for SAP consultants conducting security assessments of SAP ERP systems. We provide essential tools and resources to help professionals in this field conduct their work effectively.

RedRays Security Platform for Enterprises

The product package is specifically optimized to cater to the needs of both small/medium and large companies who are seeking to streamline the process of organizing a comprehensive security system for ERP systems.