CVE-2021-42064

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…

published December 14, 2021

CVSS
—
EPSS
1%
Percentile
66.1
In the wild
Unconfirmed
What it is

⚠️ A crafty parameterized SQL vulnerability is lurking if you’re using an Oracle database with SAP Commerce versions 1905, 2005, 2105, or 2011! 🚨 Think of it like a buffet where you're allowed to take as many food items as you want, but the chef never checks what you’re loading onto your plate. If the parameterized 'in' clause accepts more than 1000 values, you might end up with a feast that's not just for you! An attacker could execute crafted queries against the backend database, potentially exposing sensitive data. This could lead to unauthorized access, data breaches, or even complete database compromise. It’s like leaving the back door wide open for anybody to stroll in and help themselves!

Put simply

Think of it like a buffet where you're allowed to take as many food items as you want, but the chef never checks what you’re loading onto your plate. If the parameterized 'in' clause accepts more than 1000 values, you might end up with a feast that's not just for you! This vulnerability stems from the handling of a parameterized 'in' clause in SAP Commerce’s flexible search Java API. If the clause accepts over 1000 values, malicious queries could bypass security measures, allowing attackers to manipulate the database.

What to do

An attacker could execute crafted queries against the backend database, potentially exposing sensitive data. This could lead to unauthorized access, data breaches, or even complete database compromise. It’s like leaving the back door wide open for anybody to stroll in and help themselves! To remediate this, restrict the number of values allowed in the parameterized 'in' clause to less than 1000 or implement additional validation checks. It's also a good idea to review your database configurations and ensure that access controls are in place. Don't wait—secure your instance now! You've got this! Take action today, and you'll be one step closer to being a security hero! 🦸

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01127 · 66.1th percentile
Published
2021-12-14T15:44Z
EPSS history
Timeline
  • 14 DEC 15:44Z
    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…
    cvelistv5