Authorization Bypass Through User-Controlled Key Affecting com.shopizer:shopizer package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMSHOPIZER-6253372
  • published20 Feb 2024
  • disclosed2 May 2022
  • creditWhiteSource

Introduced: 2 May 2022

CVE-2022-23061  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

There is no fixed version for com.shopizer:shopizer.

Overview

com.shopizer:shopizer is an open source e-commerce software.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key by allowing a regular admin to permanently delete a superadmin via Insecure Direct Object Reference.

PoC

  1. Login as admin via the /admin/login.html endpoint.
  2. Navigate to the admin/users/list.html endpoint.
  3. Intercept the traffic using your desired tool before deleting a user.
  4. Replace the userId parameter with a superadmin ID.
  5. Notice the superadmin is permanently deleted and we are unable to login as the superadmin (that had the ID).

References

CVSS Scores

version 3.1