VDB
Sign up
MEDIUM5.3

GHSA-q97c-2mh3-pgw9

Shopware dependency configuration exposed

Quick fix

GHSA-q97c-2mh3-pgw9 — shopware/shopware: upgrade to the fixed version with the command below.

composer require shopware/shopware:^5.7.18

Details

### Impact Due to a wrong configuration in the `.htaccess` file, the configuration file of Javascript dependencies could be read in production environments (`themes/package-lock.json`). With this information, the used Shopware version might be determined by an attacker, which could be used for further attacks.

### Patches We recommend updating to the current version 5.7.18. You can get the update to 5.7.18 regularly via the Auto-Updater or directly via the release page. https://github.com/shopware5/shopware/releases/tag/v5.7.18

For older versions you can use the Security Plugin: https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html

### References https://docs.shopware.com/en/shopware-5-en/security-updates/security-update-06-2023

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/shopware/shopware
Introduced in: 5.6.0Fixed in: 5.7.18
Fixcomposer require shopware/shopware:^5.7.18

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/shopware/shopware"]}'