Shopware dependency configuration exposed
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 5.6.0 before 5.7.18Ecosystem versions | 5.7.18 |
Version evidence: OSV · GHSA-q97c-2mh3-pgw9
View original version evidence (33 explicit versions)
Original source description
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
References
- Security advisory github.com/shopware/shopware/security/advisories/GHSA-q97c-2mh3-pgw9
- Security advisory github.com/shopware5/shopware/security/advisories/GHSA-q97c-2mh3-pgw9
- Security advisory nvd.nist.gov/vuln/detail/CVE-2023-34098
- Patch github.com/shopware5/shopware/commit/b3518c8d9562a38615d638f31f79829f6e2f4b6a
- Security advisory docs.shopware.com/en/shopware-5-en/security-updates/security-update-06-2023
- Source reference github.com/shopware5/shopware
- Release notes www.shopware.com/en/changelog-sw5/