Description
EverShop 1.2.2 before 2.2.1 contains a missing authorization vulnerability in the customer address API that allows unauthenticated attackers to manage other customers' addresses. Attackers who know customer and address UUIDs can send POST, PATCH, or DELETE requests to /api/customers/:customer_id/addresses routes to add, modify, or delete saved shipping addresses.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| evershopcommerce | evershop | 1.2.2 – < 2.2.1 | 2.2.1 |
References
- https://github.com/evershopcommerce/evershop/issues/928 issue-tracking
- https://github.com/evershopcommerce/evershop/commit/af6e6fd935c4194668b11a924b847542598941f7 patch
- v2.2.1 Release Notes release-notes
- https://github.com/evershopcommerce/evershop/blob/v2.1.2/packages/evershop/src/modules/customer/api/updateCustomerAddress/updateCustomerAddress.js technical-description
- https://github.com/evershopcommerce/evershop/blob/v2.1.2/packages/evershop/src/modules/customer/api/deleteCustomerAddress/route.json technical-description
- https://github.com/evershopcommerce/evershop product
- VulnCheck Advisory: EverShop 1.2.2 before 2.2.1 Missing Authorization via Customer Address API third-party-advisory