Shopper: Missing function-level authorization on Settings tax/zone/shipping Livewire components allows a low-privileged user to delete commerce configuration
What fixes it
- 2.9.2shopper/framework, composerGitHub
composer require "shopper/framework:^2.9.2" - 2.9.2shopper/framework, PackagistOSV
composer require "shopper/framework:^2.9.2"
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Shopper is a Headless e-commerce Admin Panel. From 2.0.0 until 2.9.2, authenticated users who could reach the Settings pages with only access_setting could directly invoke destructive actions through the Livewire endpoint because packages/admin/src/Livewire/Components/Settings/Zones/ZoneShippingOptions.php, packages/admin/src/Livewire/Components/Settings/Zones/Detail.php, packages/admin/src/Livewire/Components/Settings/Taxes/Detail.php, and packages/admin/src/Livewire/Components/Settings/Taxes/TaxRates.php did not enforce server-side delete authorization. The actions could delete carrier options, shipping zones, tax zones, and tax rates, disrupting checkout shipping, payment-method mapping, and tax calculation. This issue is fixed in version 2.9.2.
Text from CVE List
Affected versions 44
- shopperaffected: >= 2.0.0, < 2.9.2CVE List
- shopper/framework, composer>= 2.0.0, < 2.9.2GitHub
- shopper/framework, Packagistfrom 2.0.0, fixed in 2.9.2OSV
- shopper/framework, Packagistv2.0.0OSV
- shopper/framework, Packagistv2.0.1OSV
- shopper/framework, Packagistv2.0.2OSV
- shopper/framework, Packagistv2.0.3OSV
- shopper/framework, Packagistv2.1.1OSV
- shopper/framework, Packagistv2.1.2OSV
- shopper/framework, Packagistv2.1.3OSV
- shopper/framework, Packagistv2.1.4OSV
- shopper/framework, Packagistv2.1.5OSV
- shopper/framework, Packagistv2.1.6OSV
- shopper/framework, Packagistv2.2OSV
- shopper/framework, Packagistv2.2.1OSV
- shopper/framework, Packagistv2.2.2OSV
- shopper/framework, Packagistv2.2.3OSV
- shopper/framework, Packagistv2.2.4OSV
- shopper/framework, Packagistv2.2.5OSV
- shopper/framework, Packagistv2.2.6OSV
- shopper/framework, Packagistv2.2.7OSV
- shopper/framework, Packagistv2.3OSV
- shopper/framework, Packagistv2.3.1OSV
- shopper/framework, Packagistv2.3.2OSV
- shopper/framework, Packagistv2.3.3OSV
- shopper/framework, Packagistv2.4.0OSV
- shopper/framework, Packagistv2.4.1OSV
- shopper/framework, Packagistv2.4.2OSV
- shopper/framework, Packagistv2.4.3OSV
- shopper/framework, Packagistv2.5.0OSV
- shopper/framework, Packagistv2.5.1OSV
- shopper/framework, Packagistv2.6.0OSV
- shopper/framework, Packagistv2.6.1OSV
- shopper/framework, Packagistv2.6.2OSV
- shopper/framework, Packagistv2.6.3OSV
- shopper/framework, Packagistv2.6.4OSV
- shopper/framework, Packagistv2.7.0OSV
- shopper/framework, Packagistv2.7.1OSV
- shopper/framework, Packagistv2.7.2OSV
- shopper/framework, Packagistv2.7.3OSV
- shopper/framework, Packagistv2.8.0OSV
- shopper/framework, Packagistv2.8.1OSV
- shopper/framework, Packagistv2.9.0OSV
- shopper/framework, Packagistv2.9.1OSV
References 4
- github.com/shopperlabs/shopper/commit/bf72e2753e21296184596d507336c7d65ecd46ffFixvia CVE List
- github.com/shopperlabs/shopper/releases/tag/v2.9.2Fixvia CVE List
- github.com/shopperlabs/shopper/security/advisories/GHSA-f7h9-qv4x-9x57Exploitvia CVE List
- github.com/shopperlabs/shopper/pull/570Referencevia CVE List