SecurityContext

CVE-2021-21465: SAP BW Database Interface - SQL Injection

  • Cve: CVE-2021-21465
  • Name: SAP BW Database Interface - SQL Injection
  • Description: The BW Database Interface allows an attacker with low privileges to execute any crafted database queries, exposing the backend database. An attacker can include their own SQL commands which the database will execute without properly sanitizing the untrusted data leading to SQL injection vulnerability which can fully compromise the affected SAP system.
  • Impact: Attackers can fully compromise the SAP system by executing arbitrary SQL commands on the backend database.
  • Remediation: Implement proper input sanitization and parameterized queries to prevent SQL injection.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.03715
  • Epss percentile: 0.89956
  • 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: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21465
  • 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-89Improper Neutralization of Special Elements used in an SQL Command

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://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
https://launchpad.support.sap.com/#/notes/2986980Permissions Required

Products

ProductAffectedPlatform boundSourcesUrl
sap:business_warehouse= 782, = 755, = 754, = 753, = 752, = 751, = 750, = 740, = 731, = 730, = 711, = 710nonvd/v1/products/sap/business_warehouse

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