CVE-2018-20713 Shopware SQL Injection

High 8.8 Published Updated

Remote authenticated users can execute arbitrary SQL commands in Shopware, potentially accessing or modifying database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-20713?

CVE-2018-20713 is a high-severity SQL injection vulnerability in Shopware Shopware, published on 15 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Shopware before 5.4.3 allows SQL Injection by remote authenticated users, aka SW-21404.

Weakness: CWE-89

Which versions are affected by CVE-2018-20713?

2 open source packages ship an affected version, including shopware/shopware. It affects 1 product.

PackageAffectedFixed in
shopware/shopware PackagistAll versions5.4.3
shopware/shopware PackagistAll versions5.4.3

Products include Shopware Shopware.

How do I fix CVE-2018-20713?

Upgrade shopware/shopware to 5.4.3 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2018-20713 being exploited?

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

All Shopware Shopware vulnerabilities

Sources

Also known as GHSA-42gv-77f4-r3j9.

Is CVE-2018-20713 in your software?

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

Check your SBOMs for free