Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

Switchable Authorization checks for RFC in SRM, SAP security note 2528799

SAP Note 2528799

SAP security note 2528799, "Implementing Switchable Authorization Checks for RFC in SRM". Below are the symptom and SAP recommended solution.

Description

Symptom

Remote calls to RFC function modules in SRM were found to have inadequate authorization checks using the S_RFC authorization object. This vulnerability could allow unauthorized execution of RFC function modules, potentially compromising system security.

Solution

The note implements new switchable authorization checks delivered inactive to maintain compatibility. These can be activated manually via transaction SACF. The key steps include:

  • Upload Scenario Definitions: Use transaction SACF_TRANSFER to upload scenario definitions from the attached .TXT files.
  • Activate Authorization Scenarios: In transaction SACF, transfer scenario definitions to productive scenarios and set their status to "Active" or "Logging". "Active" status enables the authorization checks and logs them to the Security Audit Log. "Logging" status logs the checks without enforcing them, allowing identification of required authorizations.
  • Adjust User Roles: Update user roles to include the necessary authorizations based on the new scenarios.
  • Activate Security Audit Logging (Optional): Ensure Security Audit Log is active in transaction SM19. Activate relevant message IDs (DUO, DUP, DUQ) for detailed logging.

The implementation affects various business processes and roles that utilize RFC function modules across Contract Management, Invoice Management, Material Management, Purchase Requisition, Reservation Management, Vendor Management and Financial Document Display.

Reason and prerequisites

The default S_RFC authorization checks were not sufficient for securing the execution of certain RFC function modules within SRM. To mitigate this, new switchable authorization checks are necessary. Before applying this note, ensure that the following prerequisite notes are implemented:

CVSS

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

References

Full note on SAP: SAP Support Launchpad note 2528799

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

Explore More