Authorization Bypass Through User-Controlled Key Affecting com.shopizer:shopizer-parent Open this link in a new tab package, versions [2.0.0, 3.0.0)


0.0
medium
  • Exploit Maturity

    Proof of concept

  • Attack Complexity

    Low

  • Privileges Required

    High

  • Integrity

    High

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-id

    SNYK-JAVA-COMSHOPIZER-2806690

  • published

    3 May 2022

  • disclosed

    2 May 2022

  • credit

    WhiteSource

How to fix?

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

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