SecurityContext

CVE-2021-42064: SAP Commerce - SQL Injection

  • Cve: CVE-2021-42064
  • Name: SAP Commerce - SQL Injection
  • Description: If configured to use an Oracle database and if a query is created using the flexible search java api with a parameterized "in" clause, SAP Commerce - versions 1905, 2005, 2105, 2011, allows attacker to execute crafted database queries, exposing backend database. The vulnerability is present if the parameterized "in" clause accepts more than 1000 values.
  • Impact: Attackers can execute crafted database queries, potentially exposing sensitive backend database information.
  • Remediation: Limit the number of values in the 'in' clause or update to the latest SAP Commerce version with patched query handling.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01127
  • Epss percentile: 0.6701
  • Assignee: [email protected]
  • Published at: 2021-12-14T16:15:09Z
  • Age in days: 1806
  • Modified at: 2026-06-17T04:09:14Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-42064
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

UrlSourceTags
https://wiki.scn.sap.com/wiki/display/PSR/SAP+Security+Patch+Day+-+December+2021nvdVendor Advisory
https://launchpad.support.sap.com/#/notes/3114134nvdPermissions Required

Products

ProductAffectedPlatform boundSourcesUrl
sap:commerce= 2105, = 2011, = 2005, = 1905nonvd/v1/products/sap/commerce

Index

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

Exploitation

  • Remote: yes
  • Exposed hosts: 5973
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports