CVE-2023-34098: Dependency configuration exposed in Shopware

Published Jun 27, 2023
·
Updated

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

Other sources

Shopware is an open source e-commerce software. Due to an incorrect configuration in the .htaccess file, the configuration file of the Javascript could be read in production environments (themes/package-lock.json). With this information, the specific Shopware version in a deployment might be determined by an attacker, which could be used for further attacks. Users are advised to update to version 5.7.18. There are no known workarounds for this vulnerability.

MITRE

Affected Software

2 affected componentsFixes available
composer/shopware/shopware>=5.6.0<=5.7.17
5.7.18
Shopware Shopware>=5.6.0<5.7.18

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/shopware/shopware to a version that resolves this vulnerability.

    Fixed in 5.7.18
  2. Upgrade

    Upgrade Shopware 5 to a version that resolves this vulnerability.

    Fixed in 5.7.18
  3. Configuration

    Fix the wrong .htaccess configuration so the Javascript dependency configuration file themes/package-lock.json cannot be read in production environments.

    Web server (.htaccess) .htaccess access rules for themes/package-lock.json (Javascript dependency configuration) = Prevent reading of themes/package-lock.json in production

Event History

Jun 27, 2023
CVE Published
via MITRE·04:25 PM
Data Sourced
via MITRE·04:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 28, 2023
Advisory Published
10:33 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-34098?

CVE-2023-34098 is a vulnerability in Shopware, an open-source e-commerce software, that allows an attacker to read the configuration file of the Javascript in production environments.

2

What is the severity of CVE-2023-34098?

The severity of CVE-2023-34098 is medium with a severity value of 5.3.

3

How does CVE-2023-34098 affect Shopware?

CVE-2023-34098 affects Shopware versions between 5.6.0 and 5.7.18.

4

How can I fix CVE-2023-34098?

To fix CVE-2023-34098, update your Shopware installation to a version later than 5.7.18 and make sure the `.htaccess` file is correctly configured.

5

Where can I find more information about CVE-2023-34098?

You can find more information about CVE-2023-34098 in the Shopware security updates documentation and the Shopware GitHub advisory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203