Lucene search

K
wpexploitWpvulndbWPEX-ID:0797D42A-E7E5-41E3-9C20-A3BF418E2F42
HistoryAug 21, 2020 - 12:00 a.m.

WooCommerce - NAB Transact < 2.1.2 - Payment Bypass

2020-08-2100:00:00
wpvulndb
11

0.003 Low

EPSS

Percentile

67.9%

The plugin does not validate the origin of payment processor status requests, allowing orders to be marked as fully paid by issuing a specially crafted GET request during the ordering workflow.

When presented with a payment screen, instead of submitting payment information, issue the following GET request to the site:

https://example-site.com/?wc-api=WC_Gateway_Nab_Direct_Post&order=XXXX&key=wc_order_YYYYY&is_crn=0&txnid=ZZZZZ&refid=WooCommerceXXXX&rescode=00&restext=Approved

Where XXXX is the order number and YYYY is the order code which have been present before during the workflow. If these are not presented, submit invalid payment information and get a declined message. Now brute-force the order number which is sequential. Doing so will mark any existing pending orders as fully paid.

0.003 Low

EPSS

Percentile

67.9%

Related for WPEX-ID:0797D42A-E7E5-41E3-9C20-A3BF418E2F42