Abandoned Cart, a plugin for WordPress which extends the WooCommerce plugin, prior to 5.8.2 is affected by an unauthenticated SQL injection via the billing_first_name parameter of the save_data AJAX call. A valid wp_woocommerce_session cookie is required, which has at least one item in the cart.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/scanner/http/wp_abandoned_cart_sqli
msf auxiliary(wp_abandoned_cart_sqli) > show actions
...actions...
msf auxiliary(wp_abandoned_cart_sqli) > set ACTION < action-name >
msf auxiliary(wp_abandoned_cart_sqli) > show options
...show and set options...
msf auxiliary(wp_abandoned_cart_sqli) > run
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security