Improper object type validation in saleor
CVE-2022-39275
Key Information:
Badges
What is CVE-2022-39275?
Saleor is a headless, GraphQL commerce platform. In affected versions some GraphQL mutations were not properly checking the ID type input which allowed to access database objects that the authenticated user may not be allowed to access. This vulnerability can be used to expose the following information: Estimating database row counts from tables with a sequential primary key or Exposing staff user and customer email addresses and full name through the assignNavigation() mutation. This issue has been patched in main and backported to multiple releases (3.7.17, 3.6.18, 3.5.23, 3.4.24, 3.3.26, 3.2.14, 3.1.24). Users are advised to upgrade. There are no known workarounds for this issue.
Affected Version(s)
saleor >= 2.0.0, < 3.1.24 < 2.0.0, 3.1.24
saleor >= 3.2.0, < 3.2.14 < 3.2.0, 3.2.14
saleor >= 3.3.0, < 3.3.26 < 3.3.0, 3.3.26
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
