RULE(RULE ID:337794)

Rule General Information
Release Date: 2024-01-19
Rule Name: WordPress WP Live Chat Support Pro Plugin Arbitrary File Upload Vulnerability (CVE-2019-11185)
Severity:
CVE ID:
Rule Protection Details
Description: The WP Live Chat Support Pro plugin through 8.0.26 for WordPress contains an arbitrary file upload vulnerability. This results from an incomplete patch for CVE-2018-12426. Arbitrary file upload is achieved by using a non-blocklist executable file extension in conjunction with a allowlist file extension, and prepending "magic bytes" to the payload to pass MIME checks. Specifically, an unauthenticated remote user submits a crafted file upload POST request to the REST api remote_upload endpoint. The file contains data that will fool the plugin's MIME check into classifying it as an image (which is a allowlist file extension) and finally a trailing .phtml file extension.
Impact: Attackers can upload viruses, Trojans, WebShell, other malicious scripts or pictures containing scripts to the server, and attackers can use these files for subsequent attacks.
Affected OS: Windows, Linux, Others
Reference: https://wordpress.org/plugins/wp-live-chat-support/
https://wpvulndb.com/vulnerabilities/9320
https://wp-livechat.com/
https://vigilance.fr/vulnerability/WordPress-WP-Live-Chat-Support-Pro-file-upload-29455
Solutions
Refer to the announcement or patch by the vendor: https://wordpress.org/plugins/wp-live-chat-support/