Automattic WooCommerce plugin up to 3.2.3 on WordPress class-wc-shortcode-products.php get_products code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.9 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Automattic WooCommerce plugin up to 3.2.3 on WordPress. Impacted is the function WC_Shortcode_Products::get_products of the file includes/shortcodes/class-wc-shortcode-products.php. This manipulation causes code injection.
The identification of this vulnerability is CVE-2017-18356. It is possible to initiate the attack remotely. There is no exploit available.
It is advisable to upgrade the affected component.
Details
A vulnerability has been found in Automattic WooCommerce plugin up to 3.2.3 on WordPress (E-Commerce Management Software) and classified as critical. Affected by this vulnerability is the function WC_Shortcode_Products::get_products of the file includes/shortcodes/class-wc-shortcode-products.php. The manipulation with an unknown input leads to a code injection vulnerability. The CWE definition for the vulnerability is CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
In the Automattic WooCommerce plugin before 3.2.4 for WordPress, an attack is possible after gaining access to the target site with a user account that has at least Shop manager privileges. The attacker then constructs a specifically crafted string that will turn into a PHP object injection involving the includes/shortcodes/class-wc-shortcode-products.php WC_Shortcode_Products::get_products() use of cached queries within shortcodes.
The bug was discovered 02/26/2018. The weakness was shared 01/15/2019 (Website). It is possible to read the advisory at blog.ripstech.com. This vulnerability is known as CVE-2017-18356 since 01/15/2019. The exploitation appears to be easy. The attack can be launched remotely. The successful exploitation needs a single authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.
The vulnerability was handled as a non-public zero-day exploit for at least 323 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:includes/shortcodes/class-wc-shortcode-products.php it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 3.2.4 eliminates this vulnerability.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.0VulDB Meta Temp Score: 7.9
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CNA Base Score: 8.8
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: WooCommerce plugin 3.2.4
Timeline
02/26/2018 🔍01/15/2019 🔍
01/15/2019 🔍
01/15/2019 🔍
01/16/2019 🔍
10/17/2024 🔍
Sources
Advisory: blog.ripstech.comStatus: Not defined
CVE: CVE-2017-18356 (🔍)
GCVE (CVE): GCVE-0-2017-18356
GCVE (VulDB): GCVE-100-129739
Entry
Created: 01/16/2019 12:09Updated: 10/17/2024 19:22
Changes: 01/16/2019 12:09 (64), 05/01/2020 16:25 (1), 10/17/2024 19:22 (27)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.