Description
mews/pos through 2.0.0 contains an insufficient verification of data authenticity vulnerability that allows unauthenticated attackers to forge payment results by submitting unverified callbacks. GarantiPos, PayForPos and InterPos 3D Pay and 3D Host handlers skip check3DHash(), letting attackers post tampered status, amount or order ID fields to complete orders without paying.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mewebstudio | pos | ≤ 2.0.0 | — |
References
- https://github.com/mewebstudio/pos/pull/305 patch issue-tracking
- https://github.com/mewebstudio/pos/commit/7c59d42bc49483c7c54999d757cb67055d9f732a patch
- https://github.com/mewebstudio/pos/issues/306 issue-tracking
- https://github.com/mewebstudio/pos/blob/50ed2bfe4f8980b8b0c47996de571943fa58d7ad/src/Gateway/PayForPos.php#L135-L150 technical-description
- https://github.com/mewebstudio/pos/blob/50ed2bfe4f8980b8b0c47996de571943fa58d7ad/src/Gateway/InterPos.php#L134-L149 technical-description
- https://github.com/mewebstudio/pos product
- VulnCheck Advisory: mews/pos through 2.0.0 Missing Hash Verification in 3D Pay and 3D Host Callbacks third-party-advisory