Authorization Bypass Through User-Controlled Key The advisory has been revoked - it doesn't affect any version of package com.shopizer:shopizer-parent  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (16th 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 Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMSHOPIZER-2806690
  • published3 May 2022
  • 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?

Upgrade com.shopizer:shopizer-parent to version 3.0.0 or higher.

Amendment

This was deemed not a vulnerability.

Overview

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