Description
nopCommerce before 5.00.0 contains a missing authorization vulnerability in the admin ProductController RelatedProductAddPopup, CrossSellProductAddPopup and AssociatedProductAddPopup handlers that fail to verify parent product ownership. Authenticated vendors can submit another vendor's product id as model.ProductId to inject their products into the victim's related-products, cross-sell and grouped-product listings.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nopSolutions | nopCommerce | < 5.00.0 | 5.00.0 |
References
- https://github.com/nopSolutions/nopCommerce/issues/8417 issue-tracking
- https://github.com/nopSolutions/nopCommerce/commit/fbdbe18d43b42b7e269f7118cfc9533349ed2dc0 patch
- https://github.com/nopSolutions/nopCommerce/blob/918444773367deb734b93d3ad80e17325d6c147a/src/Presentation/Nop.Web/Areas/Admin/Controllers/ProductController.cs#L1655-L1679 technical-description
- nopCommerce release-5.00.0 Release Notes release-notes
- https://github.com/nopSolutions/nopCommerce product
- VulnCheck Advisory: nopCommerce before 5.00.0 Missing Authorization via Admin ProductController Add Popup Handlers third-party-advisory