SecurityContext

CVE-2021-21466: SAP BW/4HANA & BW - Command Injection

  • Cve: CVE-2021-21466
  • Name: SAP BW/4HANA & BW - Command Injection
  • Description: SAP Business Warehouse, versions 700, 701, 702, 711, 730, 731, 740, 750, 782 and SAP BW/4HANA, versions 100, 200, allow a low privileged attacker to inject code using a remote enabled function module over the network. Via the function module an attacker can 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 Denial of Service.
  • Impact: Attackers can execute malicious code, access sensitive data, or cause denial of service, potentially compromising system integrity and availability.
  • Remediation: Apply latest patches and updates from SAP to address insecure function modules and restrict access to remote enabled function modules.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution, information_disclosure, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03142
  • Epss percentile: 0.88144
  • Assignee: [email protected]
  • Published at: 2021-01-12T15:15:15Z
  • Age in days: 2142
  • Modified at: 2026-06-17T03:35:37Z
  • Public exploits total: 2
  • References total: 4
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21466
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/167229/SAP-Application-Server-ABAP-ABAP-Platform-Code-Injection-SQL-Injection-Missing-Authorization.htmlnvd2021-01-12
http://seclists.org/fulldisclosure/2022/May/42nvd2021-01-12

References

Same in every row:

  • Source: nvd
UrlTags
https://launchpad.support.sap.com/#/notes/2999854Permissions Required, Vendor Advisory
https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=564760476Vendor Advisory
http://packetstormsecurity.com/files/167229/SAP-Application-Server-ABAP-ABAP-Platform-Code-Injection-SQL-Injection-Missing-Authorization.htmlExploit, Third Party Advisory, VDB Entry
http://seclists.org/fulldisclosure/2022/May/42Exploit, Mailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
sap:business_warehouse= 782, = 750, = 740, = 731, = 730, = 711, = 702, = 701, = 700nonvd/v1/products/sap/business_warehouse
sap:bw/4hana= 200, = 100nonvd/v1/products/sap/bw/4hana

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-01-12
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts