High Severity
Affected system
SAP Commerce
CVSS
8.0
Component
CEC-COM-CPS
Patch Day
2022-12
Released on
2022/12/13
SAP Note
3248255
Workaround
Yes
  • Share with:

Advisory

On 13.12.2022 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within SAP Commerce.

SAP Note 3248255 addresses "[CVE-2022-41266] Cross-Site Scripting (XSS) vulnerability in SAP Commerce" to prevent cross-site scripting (xss) with a high risk for exploitation.

A workaround does exist, according to SAP Security Advisory team. It is advisable to implement the correction as monthly patch process, the team suggests.

Cross-site scripting (XSS) is the name of a class of security vulnerabilities that can occur in web-based applications. XSS combines all vulnerabilities that allow an attacker to inject HTML Markup and/or JavaScript into the front end of the affected web application.

XSS attacks can occur whenever the application dynamically creates its HTML/JavaScript/CSS content, which is passed to the user's web browser, and attacker-controlled values are used in this process. If these values are included in the generated code without proper validation and encoding, the attacker is able to include arbitrary coding snippets into the application's front end. The code is then rendered by the victim's web browser and interpreted in the victim's current authentication context.

Risk specification

 SAP Commerce Webservices 2.0 Swagger UI allows malicious inputs from untrusted sources.

Solution

The effected library has been updated to resolve this issues.  Circumstances exist that prevent the timely installation of a patch provided by the manufacturer. In such cases, you may consider applying the suggested workaround as a temporary or compensating mitigation: "Cross-site scripting/request forgery filter engine on IDS/IPS/firewall systems. Note that this workaround is a temporary fix and is not a permanent solution. SAP strongly recommends you apply the corrections outlined in the security note, which can be done in lieu of the workaround or after the workaround is implemented. If customers cannot apply the patch, following workaround is available: Customers can remove the functionality by: Removing any use of swagger-ui in SAP Commerce, OR Blocking access to swagger consoles, e.g. via firewall rules on the host, WAF or alike. This workaround will remove the ability to test and use SAP Commerce APIs via Swagger consoles. ".

The advisory is valid for

 

 

Disclaimer

SecurityBridge takes the security of SAP products very seriously. We very much encourage the responsible disclosure of security vulnerabilities. If you have detected a vulnerability concerning one of the SAP software products – either in the latest or in a former product version follow the guidelines and processes in accordance with the SAP portal page “Report a Security Vulnerability to SAP”.

The advisories found within the SecurityBridge advisory are generated and continuously enriched by our Team at SecurityBridge and affiliated security consultants, partners, customers of the SecurityBridge Platform, SAP support, and advisory groups.

We do not disclose zero-day vulnerabilities unless a security patch has been made available to the public. In such case, the platform only provides details on which version or signature updates are available within the SecurityBridge platform in order to monitor or measure the vulnerability.

In accordance with SAP guidelines, SecurityBridge only discloses issues where the fixing security note has been released. The vulnerability platform makes no references to available exploits or Proof of Concepts (PoC). Advisories and vulnerabilities will always mention the fixing security note or hints to the corresponding SAP documentation.

SecurityBridge - Smart connector SAP to SIEM

SmartConnector  SAP© to SIEM
Enable your global monitoring to detect malicious action in SAP systems to protect your company against Cross-Site Scripting (XSS) or Denial of service (DoS) attacks.

 
ABEX logo

SecurityBridge helps in prioritizing SAP patches, updates and the remediation strategies essential for preventing the disruption of vital business systems. We help businesses in making their SAP systems more secure.

SecurityBridge

© Copyright 2024 by SecurityBridge GmbH

v35.0