50 lines
1.3 KiB
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: 490a0046304402204d450c37f13b5bcca1b0269cfcc8a65c1e12bcc2a6c53d134f43381939638dcb022013dbb9a40591ab506a6ae6c3dfd8b9450646fcbdd0dd9cb0075a3a9f8a147f0d:922c64590222798bb761d5b6d8e72950 |