49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
id: wordpress-woo-inpost
|
|
|
|
info:
|
|
name: InPost for WooCommerce Detection
|
|
author: mailler
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/woo-inpost/
|
|
metadata:
|
|
plugin_namespace: woo-inpost
|
|
wpscan: https://wpscan.com/plugin/woo-inpost
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/woo-inpost/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/woo-inpost.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: 4a0a0047304502200879376c5759d8ef8c86c4bbca9d164aebffe0569e16ed7dd8efc5118d5a5a52022100ad6e7f6dfd6b219015b850450639318359d7695eabe27d511ecfcfb28fe5593f:922c64590222798bb761d5b6d8e72950 |