Files
nuclei-templates/http/technologies/wordpress/plugins/mailchimp-for-woocommerce.yaml
2024-09-30 08:07:51 +00:00

49 lines
1.4 KiB
YAML

id: wordpress-mailchimp-for-woocommerce
info:
name: Mailchimp for WooCommerce Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/mailchimp-for-woocommerce/
metadata:
plugin_namespace: mailchimp-for-woocommerce
wpscan: https://wpscan.com/plugin/mailchimp-for-woocommerce
tags: tech,wordpress,wp-plugin,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/mailchimp-for-woocommerce/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/mailchimp-for-woocommerce.txt
extractors:
- type: regex
part: body
internal: true
name: internal_detected_version
group: 1
regex:
- '(?i)Stable.tag:\s?([\w.]+)'
- type: regex
part: body
name: detected_version
group: 1
regex:
- '(?i)Stable.tag:\s?([\w.]+)'
matchers-condition: or
matchers:
- type: dsl
name: "outdated_version"
dsl:
- compare_versions(internal_detected_version, concat("< ", last_version))
- type: regex
part: body
regex:
- '(?i)Stable.tag:\s?([\w.]+)'
# digest: 4a0a0047304502201195c6b65f2e0b199a410228af13e5d29368e103939e2260c3907641e5fd8128022100d3263383de627952123067849d0708d44c36dac34066fbbf61d7dc090c12d139:922c64590222798bb761d5b6d8e72950