52 lines
1.3 KiB
YAML
52 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: 490a0046304402204521e7e36dff2bb7325f114caa1e4706b53649661943ec82de9e014ed6dc8db6022020c0af08e24d06dbfb60022c2707e82fb17e4886b30290d000ab9ec566c7a623:922c64590222798bb761d5b6d8e72950
|