CVE-2020-13997 Shopware database password is leaked to an unauthenticated users

High 7.5 Published Updated

An unauthenticated attacker can obtain the database password via verbose error messages when a driver exception occurs in Shopware.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-13997?

CVE-2020-13997 is a high-severity vulnerability in Shopware Shopware, published on 28 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Shopware before 6.2.3, the database password is leaked to an unauthenticated user when a DriverException occurs and verbose error handling is enabled.

Weakness: CWE-209

Which versions are affected by CVE-2020-13997?

4 open source packages ship an affected version, including shopware/core and shopware/platform. It affects 1 product.

PackageAffectedFixed in
shopware/core PackagistFrom 6.0.06.2.3
shopware/core PackagistFrom 6.0.06.2.3
shopware/platform PackagistFrom 6.0.06.2.3
shopware/platform PackagistFrom 6.0.06.2.3

Products include Shopware Shopware.

How do I fix CVE-2020-13997?

Upgrade shopware/core to 6.2.3 or later.

Is CVE-2020-13997 being exploited?

There is no known exploitation of CVE-2020-13997 in the wild and no public exploit code.

All Shopware Shopware vulnerabilities

Sources

Also known as GHSA-r4ph-mx67-x58p.

Is CVE-2020-13997 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free