CVE-2020-15109 — solidus_frontend
MEDIUMCVE-2020-15109 is a medium-severity (CVSS 5.3) Improper Input Validation vulnerability in solidus_frontend. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for solidus_frontend — see the affected versions and patch details below.
Ability to change order address without triggering address validations in solidus
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
solidus_frontend💎solidus_frontend💎solidus_frontend💎solidus_api💎solidus_api💎solidus_apiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
Impact
This vulnerability allows a malicious customer to craft request data with parameters that allow changing the address of the current order without changing the shipment costs associated with the new shipment.
All stores with at least two shipping zones and different costs of shipment per zone are impacted.
E.g.
- Store admin configured the store so that there are two zones in US:
- East Cost Zone - Shipping Method cost: $1
- West Cost Zone - Shipping Method cost: $10
The attacker user can know that shipping to NY is less expensive than to LA just by testing different addresses in checkout.
- The attacker user enters any NY shipping address in the address step
- The attacker user chooses the $1 delivery option
- The attacker user crafts a request with their real LA address, similar to:
// POST #checkout/update:
{
state: 'payment',
order: {
ship_address_attributes: {
city: 'Los Angeles',
...
}
}
}
- The attacker user proceeds with checking out with a new address and the $1 shipment costs.
Another scenario where this could be dangerous is:
You cannot ship products in some zones and you are relying on Solidus Shipping Method building only to filter out unwanted zones. Malicious users can enter an allowed zone's address and change back to an unwanted one in the payment step by crafting a request with some proper ship_address_attributes.
This problem comes from how checkout permitted attributes are structured. We have a single list of attributes that are permitted across the whole checkout, no matter the step that is being submitted.
Patches
A PR has been attached to fix the security concern for each of all the Solidus supported versions following the rules of the Solidus Security Policy.
Workarounds
When it's not possible to upgrade to a supported patched version, please use this gist to patch the store:
https://gist.github.com/kennyadsl/4618cd9797984cb64f7700a81bda889d
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | solidus_frontend | all versions | 2.8.6bundle update solidus_frontend --conservative |
| 💎RubyGems | solidus_frontend | ≥ 2.9.0&&< 2.9.6 | 2.9.6bundle update solidus_frontend --conservative |
| 💎RubyGems | solidus_frontend | ≥ 2.10.0&&< 2.10.2 | 2.10.2bundle update solidus_frontend --conservative |
| 💎RubyGems | solidus_api | all versions | 2.8.6bundle update solidus_api --conservative |
| 💎RubyGems | solidus_api | ≥ 2.9.0&&< 2.9.6 | 2.9.6bundle update solidus_api --conservative |
| 💎RubyGems | solidus_api | ≥ 2.10.0&&< 2.10.2 | 2.10.2bundle update solidus_api --conservative |
Affected Products
solidusnebulabResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for solidus_frontend, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update solidus_frontend to 2.8.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-15109 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2020-15109 in your dependencies?
Find it across RubyGems, including transitive dependencies.