SMS Alert <= 3.9.7 - Authenticated (Administrator+) SQL Injection via 'checkout_payment_plans' and 'order_status' Settings
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 4.4epss 0.3%
exploitation probability
0.3%top 75% of all CVEs
observed exploitation
nono source reports it
The SMS Alert – SMS & OTP for WooCommerce, Order Notifications & Abandoned Cart Recovery plugin for WordPress is vulnerable to generic SQL Injection via 'checkout_payment_plans' and 'order_status' Settings in all versions up to, and including, 3.9.7 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is a second-order SQL injection: the malicious payload is stored in the 'checkout_payment_plans' and 'order_status' settings via update_option() and executed later when the cod_to_prepaid_cart_notification_sendsms_hook WP-Cron event fires SA_CodTOPrepaid::sendSms().
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Affected products
cozyvision1 · SMS Alert – SMS & OTP for WooCommerce, Order Notifications & Abandoned Cart RecoveryReferences
https://plugins.trac.wordpress.org/browser/sms-alert/tags/3.9.7/classes/setting-options.php#L408https://plugins.trac.wordpress.org/browser/sms-alert/tags/3.9.7/classes/setting-options.php#L505https://plugins.trac.wordpress.org/browser/sms-alert/tags/3.9.7/handler/forms/woocommerce/wc-checkout.php#L2523https://plugins.trac.wordpress.org/browser/sms-alert/tags/3.9.7/handler/forms/woocommerce/wc-checkout.php#L2525https://plugins.trac.wordpress.org/browser/sms-alert/tags/3.9.7/handler/forms/woocommerce/wc-checkout.php#L2543https://plugins.trac.wordpress.org/browser/sms-alert/tags/3.9.7/SMSAlert-wc-order-sms.php#L116https://plugins.trac.wordpress.org/browser/sms-alert/tags/3.9.7/SMSAlert-wc-order-sms.php#L177https://plugins.trac.wordpress.org/changeset?reponame=&old=3623914%40sms-alert&new=3623914%40sms-alerthttps://www.wordfence.com/threat-intel/vulnerabilities/id/c2ad4325-be1f-48c1-b21f-adf9ce3fa2cb?source=cve