nuclei-templates/http/technologies/wordpress/plugins/woocommerce-gateway-stripe....

49 lines
1.4 KiB
YAML

id: wordpress-woocommerce-gateway-stripe
info:
name: WooCommerce Stripe Payment Gateway Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/woocommerce-gateway-stripe/
metadata:
plugin_namespace: woocommerce-gateway-stripe
wpscan: https://wpscan.com/plugin/woocommerce-gateway-stripe
tags: tech,wordpress,wp-plugin,top-100,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/woocommerce-gateway-stripe/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/woocommerce-gateway-stripe.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: 4a0a0047304502200728bc8a0362dcc769b52c7b7d67a80e6ae9da86e680c05c31d4c74e9b29035702210087022e6c58987d2538b10f9f8b8a2eb5e880ff9185dbff9e303d97aa0f2d72dd:922c64590222798bb761d5b6d8e72950