SB2020062209 - Multiple vulnerabilities in KingComposer Page Builder plugin for WordPress
Published: June 22, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 6 secuirty vulnerabilities.
1) Improper access control (CVE-ID: N/A)
The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to improper access restrictions in the "kc_update_option" AJAX action in the "kingcomposer/includes/kc.ajax.php" script. A remote authenticated attacker can bypass implemented security restrictions and modify any WordPress option in the "options" table of the database.
2) Improper access control (CVE-ID: N/A)
The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to improper access restrictions in the "kc_installed_extensions" AJAX action in the "kingcomposer/includes/kc.ajax.php" script. A remote authenticated attacker can bypass implemented security restrictions and recursively delete any folders and files, for instance by sending a name=../../../wp-admin/ POST request to delete the content of the ‘/wp-admin/’ folder.
3) Improper access control (CVE-ID: N/A)
The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to improper access restrictions in the "kc_push_section" AJAX action in the "kingcomposer/includes/kc.ajax.php" script. A remote authenticated attacker can bypass implemented security restrictions and modify the content of any page or post on the website.
The new content can either replace the existing one ($_POST['overwrite']) or be appended to it.
4) 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 several shortcode filters in "/kingcomposer/kingcomposer.php". 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.
5) Code Injection (CVE-ID: N/A)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists within the "upload" action due to the affected plugin does not validate the extraction of the extension ZIP file. A remote authenticated attacker can add a "script.php" to a ZIP file and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
6) Path traversal (CVE-ID: N/A)
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences on the "bulk-delete" action. A remote authenticated attacker can recursively delete any folders and files by assigning the folder(s) relative path to the checked[] POST array.
Remediation
Install update from vendor's website.