SB2020092107 - Multiple vulnerabilities in Discount Rules for WooCommerce plugin for WordPress
Published: September 21, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 6 secuirty vulnerabilities.
1) Stored cross-site scripting (CVE-ID: N/A)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in the "savePriceRule" AJAX action. A remote authenticated attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
2) Stored cross-site scripting (CVE-ID: N/A)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in the "saveCartRule" AJAX action. A remote authenticated attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
3) SQL injection (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data in "createDuplicateRule" AJAX action. A remote authenticated attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
4) Information disclosure (CVE-ID: N/A)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to excessive data output by the application in "sers_list" AJAX action. A remote authenticated attacker can gain unauthorized access to sensitive information on the system, such as list (userid and username only) of all users.
5) Information disclosure (CVE-ID: N/A)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to excessive data output by the application in "loadCoupons" AJAX action. A remote authenticated attacker can retrieve the list of all coupon codes.
6) Improper Authentication (CVE-ID: N/A)
The vulnerability allows a remote attacker to bypass authentication process.
The vulnerability exists due to multiple AJAX functions do not perform capability checks or nonce checks. A remote authenticated attacker can bypass authentication process, leading to multiple other vulnerabilities.
This vulnerability affects the following AJAX actions:
- wp_ajax_savePriceRule
- wp_ajax_saveCartRule
- wp_ajax_saveConfig
- wp_ajax_resetWDRCache
- wp_ajax_loadProductSelectBox
- wp_ajax_loadCoupons
- wp_ajax_UpdateStatus
- wp_ajax_RemoveRule
- wp_ajax_doBulkAction
- wp_ajax_createDuplicateRule
Remediation
Install update from vendor's website.