52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
id: wordpress-imagify
|
||
|
||
info:
|
||
name: Imagify – Optimize Images & Convert WebP | Compress Images Easily Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/imagify/
|
||
metadata:
|
||
max-request: 1
|
||
plugin_namespace: imagify
|
||
wpscan: https://wpscan.com/plugin/imagify
|
||
tags: tech,wordpress,wp-plugin,top-100,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/imagify/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/imagify.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: 4a0a004730450220235ce7bd1d907233fcc4dde3347ad131e61c2b4b1166724810088f20c8870754022100ec619a1d11c11cd89d2e1b9a3357b2743395ba1d53253afb6b49f5c9fe4d46ad:922c64590222798bb761d5b6d8e72950
|