| शीर्षक | aghaeian papara-payment-gateway 1.0.2 Insufficient Verification of Data Authenticity |
|---|
| विवरण | The aghaeian papara-payment-gateway extension for Bagisto creates a fully PAID order from the live cart with no payment verification. PaymentController::success() runs getCart -> create -> invoiceRepository->create() with no gate; the getPaymentStatus()=='SUCCESS' check lives only in the separate callback() method, while the success() route can be reached directly, yielding a free paid order for $0 captured.
Confirmed in HEAD: src/Http/Controllers/PaymentController.php:148 success() -> getCart -> create -> :159 invoiceRepository->create() (no verification); callback() at :123 verifies getPaymentStatus but is a different route.
Status: source-confirmed on current HEAD; the identical unverified-success() order-creation pattern was demonstrated end-to-end (a fully PAID order for $0 captured) on a Bagisto 2.4.7 deployment.
Impact: free fully-paid orders (payment bypass / financial loss).
Public issue report (as requested): https://github.com/aghaeian/papara-payment-gateway/issues/1
Suggested fix: verify the Papara payment status and captured amount server-side inside success(), or remove the directly reachable unverified success route.
Classification: CWE-345 Insufficient Verification of Data Authenticity. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N (8.7 HIGH). Researcher: makrano2200 (finder). |
|---|
| स्रोत | ⚠️ https://github.com/aghaeian/papara-payment-gateway/issues/1 |
|---|
| उपयोगकर्ता | mohamadAkra (UID 102394) |
|---|
| सबमिशन | 08/11/2026 08:02 AM (22 दिन पहले) |
|---|
| संयम | 29/11/2026 08:48 PM (22 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 445249 [aghaeian papara-payment-gateway तक 1.0.2 Success Callback PaymentController.php success कमजोर प्रमाणीकरण] |
|---|
| अंक | 20 |
|---|