Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

Cross-Site Request Forgery (CSRF) vulnerability in SAP S/4HANA for Advanced Compliance Reporting/ Run Advanced Compliance Report, SAP security note 2784596

SAP Note 2784596
SAP Security Note

SAP security note 2784596, "Cross-Site Request Forgery (CSRF) vulnerability in Run Compliance Report", released on 08.03.2022. Below are the symptom and SAP recommended solution.

ComponentFinancial Accounting > Country/Region-Specific Localizations > Statutory Reporting > Run Time
TypeSAP Security Note
Version3
StatusReleased for Customer
Released on08.03.2022

Description

Symptom

UPDATE 8th March 2022: This note has been re-released with updated ‘Correction instruction’ information. We have limited the validity of the prerequisite note 2637403 to SP0.

Run Advanced Compliance Report allows an attacker to trick an authenticated user into sending unintended requests to the web server. This vulnerability is due to insufficient CSRF protection.

Impacts of CSRF vulnerability:

  • Attacker could take actions on behalf of an authenticated user
  • Loss of non-repudiation

Solution

  • Changed HTTP method types from ‘GET’ to ‘POST’ for the identified function imports.
  • Proper utilization of the XSRF protection framework, ensuring correct authentication tokens are present.

SAP recommends installing solutions by applying a Support Package. If an earlier installation is necessary, use the Note Assistant to implement the correction instruction. More information about the Note Assistant can be found on the SAP Service Marketplace.

Reason and prerequisites

Few function imports as part of OData services were discovered to be vulnerable to CSRF.

CVSS

Score 4.2 Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L

Full note on SAP: SAP Support Launchpad note 2784596

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

Explore More