49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
id: wordpress-imagify
|
||
|
||
info:
|
||
name: Imagify – Optimize Images & Convert WebP & AVIF | Compress Images Easily Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/imagify/
|
||
metadata:
|
||
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: 4a0a00473045022100ec3a22944c38e6e0fa36f99c349a327cf1a655ce1688e36c087cd5142de7645a022074c87d5dedcd45f88dc61063a4108cf2e8e89de3c89518a8902e764d96a65b2f:922c64590222798bb761d5b6d8e72950 |