Description
CoreShop by CoreUnion through 1.5.5 contains an unauthenticated sql injection vulnerability in the api/Agent/GetGoodsPageList endpoint via the order parameter appended to an ORDER BY clause. Anonymous attackers can inject subqueries that bypass SqlSugar's field check to extract member accounts and orders through boolean-based or time-based blind techniques.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
CoreUnion CoreShop
Default version status: unaffected
0 to ≤ 1.5.5affected
pkg:github/CoreUnion/CoreShopReferences
- https://github.com/CoreUnion/CoreShop/issues/20 ↗
- https://github.com/CoreUnion/CoreShop/commit/e40085b81d78ea55790305bc4a1592309b294048 ↗
- https://github.com/CoreUnion/CoreShop/blob/v1.5.5/CoreCms.Net.Web.WebApi/Controllers/AgentController.cs#L164-L170 ↗
- https://github.com/CoreUnion/CoreShop/blob/v1.5.5/CoreCms.Net.Repository/Good/CoreCmsGoodsRepository.cs#L1622-L1730 ↗
- https://hackmd.io/@hieuPenguinnn/coreshop-goods-orderby-sql-injection ↗
- https://github.com/CoreUnion/CoreShop ↗
- https://www.vulncheck.com/advisories/coreshop-through-1.5.5-sql-injection-via-order-parameter-in-agent-getgoodspagelist ↗