Advisory

GHSA-q97c-2mh3-pgw9

Also known as: CVE-2023-34098

Summary

Shopware dependency configuration exposed

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-06-28 22:33 UTC
Modified
2024-02-16 08:04 UTC

Affected packages and fixes

shopware/shopware

Packagist · All systems

Affected

  • introduced 5.6.0, fixed 5.7.18 (ecosystem)

Fixed versions

5.7.18

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences