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

50 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:
max-request: 1
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: 4a0a0047304502205aacca897a8d54069f88298d80e7284ccde13d152ff76e193ccb621bebf61660022100ce79ff6290066e8ce9be987be98ed0dce789627bc72900b8de7bf69f15cee618:922c64590222798bb761d5b6d8e72950