49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
id: wordpress-woo-cart-abandonment-recovery
|
|
|
|
info:
|
|
name: WooCommerce Cart Abandonment Recovery Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/woo-cart-abandonment-recovery/
|
|
metadata:
|
|
plugin_namespace: woo-cart-abandonment-recovery
|
|
wpscan: https://wpscan.com/plugin/woo-cart-abandonment-recovery
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/woo-cart-abandonment-recovery/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/woo-cart-abandonment-recovery.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: 4a0a00473045022100d6c32cda5278abf81d3e22f80b271fdbdcff3f9ea092628f3891631e93d6917202203df5740b689d570f5b69061a5132293571bc9ba061426bd92b74294444162eee:922c64590222798bb761d5b6d8e72950 |