CyberSecBulletin
CVE-2024-54198NVD status: Deferred

SAP NetWeaver Application Server ABAP: Improper Control of Dynamically-Identified Variables

CVE-2024-54198 is a high-severity improper control of dynamically-identified variables vulnerability in SAP NetWeaver Application Server ABAP from SAP, with a CVSS 3.1 base score of 8.5 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. Affected SAP NetWeaver Application Server ABAP versions: KRNL64NUC 7.22; 7.22EXT; KRNL64UC 7.22, and others listed below. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.6% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Check which version of SAP NetWeaver Application Server ABAP you run against the affected versions below, and install the vendor's latest release.

Affected products and versions

VendorProductAffected versionsFixed in
SAPSAP NetWeaver Application Server ABAPKRNL64NUC 7.22; 7.22EXT; KRNL64UC 7.22; 7.53; KERNEL 7.22; 7.54; 7.77; 7.89; and 1 more rangesNot stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
HighSuccess depends on conditions outside the attacker's control.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
ChangedThe attack can reach beyond the vulnerable component into other systems.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H. Scored by CNA (sap.com).

Official description

In certain conditions, SAP NetWeaver Application Server ABAP allows an authenticated attacker to craft a Remote Function Call (RFC) request to restricted destinations, which can be used to expose credentials for a remote service. These credentials can then be further exploited to completely compromise the remote service, potentially resulting in a significant impact on the confidentiality, integrity, and availability of the application.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Control of Dynamically-Identified Variables

The product does not properly restrict reading from or writing to dynamically-identified variables.

How developers prevent this class of flaw

  • For any externally-influenced input, check the input against an allowlist of internal program variables that are allowed to be modified.
  • Refactor the code so that internal program variables do not need to be dynamically identified.

More Improper Control of Dynamically-Identified Variables vulnerabilities (CWE-914)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in SAP NetWeaver Application Server ABAP

All SAP NetWeaver Application Server ABAP vulnerabilities

Recent Improper Control of Dynamically-Identified Variables vulnerabilities

Spotted an error? Tell us.