Authentication mechanism absence or evasion In shopware/core

Description

Shopware: Unauthenticated data extraction possible through store-api.order endpoint

Summary

An insufficient check on the filter types for unauthenticated customers allows access to orders of other customers. This is part of the deepLinkCode support on the store-api.order endpoint.

Details

Data Exposure

Depending on the order payload configuration, attackers may retrieve:

    Customer names

    Billing address

    Shipping address

    Email addresses

    Ordered products

    Order values

    Order numbers

    Order dates

    Payment method information

    Shipping method information

    More customs, depending on the given associations in the request

Security Impact

This vulnerability allows:

    Unauthorized access to foreign customer order data

    Mass enumeration of recent orders

    Potential scraping of customer personal information

Limitation

No limitation, but only orders from the past 30 days are checked for changeable means of payment (unrelated).

Impact

The code is present since ~2021. Likely every version since then is impacted for every store.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions
FLAT-N91IY – Vulnerability | Fluid Attacks Database