nuclei-templates/http/technologies/wordpress/plugins/iwp-client.yaml

49 lines
1.3 KiB
YAML

id: wordpress-iwp-client
info:
name: InfiniteWP Client Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/iwp-client/
metadata:
plugin_namespace: iwp-client
wpscan: https://wpscan.com/plugin/iwp-client
tags: tech,wordpress,wp-plugin,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/iwp-client/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/iwp-client.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: 4b0a00483046022100a16055b0044d04e2a40783ba095a79bb0de98708e7e5dc52a27abc53784d2bf7022100baf0c71b000d9c14a06ea90f5080e10c7c9a7e362f6d11e18977b120a8a4b0dd:922c64590222798bb761d5b6d8e72950