Skip to main content
Vulnerability Database/CVE-2024-21736

CVE-2024-21736: SAP S/4HANA Finance Authorization Bypass

CVE-2024-21736 is an authorization bypass vulnerability in SAP S/4HANA Finance affecting Advanced Payment Management. Attackers can exploit missing authorization checks to create unauthorized bank accounts. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-21736 Overview

CVE-2024-21736 is a missing authorization check vulnerability in SAP S/4HANA Finance for Advanced Payment Management. The flaw affects SAPSCORE 128 and S4CORE 107 component versions. An unauthenticated attacker can trigger a function import over the network without user interaction. Successful exploitation allows the attacker to create in-house bank accounts inside the affected application. The weakness is classified under [CWE-863: Incorrect Authorization]. SAP addressed the issue in the January 2024 Security Patch Day advisory.

Critical Impact

Network-reachable attackers can invoke a privileged function import in SAP S/4HANA Finance without authentication, creating unauthorized in-house bank accounts and exposing confidential financial data.

Affected Products

  • SAP S/4HANA Finance for Advanced Payment Management with SAPSCORE version 128
  • SAP S/4HANA Finance for Advanced Payment Management with S4CORE version 107
  • Deployments exposing the Advanced Payment Management function import interface to the network

Discovery Timeline

  • 2024-01-09 - CVE-2024-21736 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in the NVD database

Technical Details for CVE-2024-21736

Vulnerability Analysis

The vulnerability resides in the Advanced Payment Management (APM) module of SAP S/4HANA Finance. A function import exposed by the module fails to enforce authorization checks before executing sensitive business logic. An attacker reaches the endpoint over the network and invokes the function without proving they hold the required role or authorization object. The function then creates in-house bank account records that should only be provisioned by finance administrators. Because the check happens after the sensitive operation, or does not happen at all, the access control decision is effectively bypassed. The issue impacts confidentiality of application data and permits limited integrity changes through the account creation path.

Root Cause

The root cause is an incorrect authorization design in the APM function import handler, mapped to [CWE-863]. The handler does not verify SAP authorization objects that gate the create bank account operation. Any caller reaching the remote function can perform the action regardless of role assignment.

Attack Vector

Exploitation requires network access to the SAP S/4HANA Finance system exposing the vulnerable function import. No authentication and no user interaction are required. The attacker calls the function import with parameters that create an in-house bank account, then reads back related data disclosed by the operation. Consult SAP Note 3260667 and the SAP Advanced Payment Management documentation for the affected interface details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2024-21736

Indicators of Compromise

  • Unexpected creation of in-house bank account master data (table FEBKA / T012K and related APM tables) outside change management windows
  • Function import calls to Advanced Payment Management endpoints originating from unauthenticated sessions or unusual source addresses
  • SAP Security Audit Log entries referencing bank account creation without a corresponding authorization check event

Detection Strategies

  • Enable and review the SAP Security Audit Log (transaction SM19 / SM20) for anomalous RFC and OData function calls tied to APM services
  • Correlate application logs with change documents (CDHDR / CDPOS) for bank account objects to identify unauthorized master data changes
  • Baseline normal callers of the APM function import and alert on new client identifiers, IP ranges, or user contexts

Monitoring Recommendations

  • Forward SAP application, audit, and gateway logs to a centralized analytics platform for cross-source correlation
  • Monitor perimeter and internal traffic to SAP HTTP, RFC, and OData ports for unauthenticated invocations of finance services
  • Track privileged finance master data changes and generate alerts on creation events performed outside approved workflows

How to Mitigate CVE-2024-21736

Immediate Actions Required

  • Apply the patch referenced in SAP Note 3260667 to affected SAPSCORE 128 and S4CORE 107 systems
  • Inventory SAP S/4HANA Finance systems running the Advanced Payment Management module and prioritize internet-exposed instances
  • Review recently created in-house bank accounts and validate them against approved change requests

Patch Information

SAP released the fix as part of its January 2024 Security Patch Day. Administrators should implement SAP Note 3260667, which corrects the missing authorization check in the Advanced Payment Management function import. Follow the standard SAP transport process and validate the fix in a non-production system before production rollout.

Workarounds

  • Restrict network access to SAP S/4HANA Finance function import interfaces using firewall rules, SAP Web Dispatcher policies, and API gateways
  • Tighten SAP authorization roles associated with Advanced Payment Management and remove excess entitlements from technical users
  • Disable or hide the affected function import at the gateway layer until the SAP Note can be applied
bash
# Example: restrict SAP Gateway reginfo/secinfo to trusted hosts only
# reginfo
P TP=* HOST=trusted-app-host ACCESS=* CANCEL=*
D TP=* HOST=* ACCESS=* CANCEL=*

# secinfo
P USER=* HOST=trusted-app-host TP=*
D USER=* HOST=* TP=*

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.