50 lines
1.4 KiB
YAML
50 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:
|
|
max-request: 1
|
|
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: 4b0a004830460221009968ca76b979eca20539040a83b50ff17f53b51c8c8dd6e6d6ec8526d2ca9a03022100883b3e14eec183f79b82f96ad363b22cf7fc733a0d3144b875999963edaaf24b:922c64590222798bb761d5b6d8e72950 |