Code Injection in SAP BW/4HANA



Published: 2021-01-13
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2021-21466
CWE ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
SAP BW/4HANA
Server applications / Other server solutions

Vendor SAP

Security Advisory

This security advisory describes one medium risk vulnerability.

1) Code Injection

Risk: Medium

CVSSv3: 7.7 [CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2021-21466

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation. A remote user can send a specially crafted request and execute arbitrary code using a remote enabled function module, create a malicious ABAP report which could be used to get access to sensitive data, to inject malicious UPDATE statements that could have also impact on the operating system, to disrupt the functionality of the SAP system which can thereby lead to a DoS.


Mitigation

Install updates from vendor's website.

Vulnerable software versions

SAP BW/4HANA: 100, 200

CPE External links

https://i7p.wdf.sap.corp/sap/support/notes/2999854
https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=564760476

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.