wePOS before 2.0.3 Missing Authorization via payment/process Endpoint
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| wedevswePOS – Point Of Sale (POS) for WooCommerce & Dokan |
≥ 1.2.6, < 2.0.3→ 2.0.3 |
2.0.3 |
Original description The description as published by the source.
wePOS (Point Of Sale for WooCommerce) before 2.0.3 contains a missing authorization vulnerability in the wepos/v1/payment/process REST route that allows authenticated vendor-level users to mark arbitrary orders as paid and completed by supplying another order's ID. Attackers with only the publish_shop_orders capability (such as Dokan vendor staff) can invoke the payment processing endpoint with an order ID they do not own to trigger the order completion lifecycle, including stock reduction and granting of paid-order access, without making any real payment.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch wordpress.org
- patch github.com
- web plugins.trac.wordpress.org
- web plugins.trac.wordpress.org
- web github.com