mews/pos through 2.0.0 Missing Hash Verification in 3D Pay and 3D Host Callbacks
Impact
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.
Source excerpt · VulnCheckAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
mewebstudio · pos
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 0 through 2.0.0 (inclusive) | affected |
Original source 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.
References
- Patch github.com/mewebstudio/pos/pull/305
- Patch github.com/mewebstudio/pos/commit/7c59d42bc49483c7c54999d757cb67055d9f732a
- Source reference github.com/mewebstudio/pos/issues/306
- Source reference github.com/mewebstudio/pos/blob/50ed2bfe4f8980b8b0c47996de571943fa58d7ad/src/Gateway/PayForPos.php
- Source reference github.com/mewebstudio/pos/blob/50ed2bfe4f8980b8b0c47996de571943fa58d7ad/src/Gateway/InterPos.php
- Source reference github.com/mewebstudio/pos
- Security advisory www.vulncheck.com/advisories/mews-pos-through-2.0.0-missing-hash-verification-in-3d-pay-and-3d-host-callbacks