nuclei-templates/http/technologies/wordpress/plugins/ewww-image-optimizer.yaml

50 lines
1.3 KiB
YAML

id: wordpress-ewww-image-optimizer
info:
name: EWWW Image Optimizer Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/ewww-image-optimizer/
metadata:
max-request: 1
plugin_namespace: ewww-image-optimizer
wpscan: https://wpscan.com/plugin/ewww-image-optimizer
tags: tech,wordpress,wp-plugin,top-100,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/ewww-image-optimizer/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/ewww-image-optimizer.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: 4a0a004730450221008ef875151474cb22cb35ba42271ad6bca21879435615004abd454067fbd5afcd02203e3def7ca135a110bd5ac8d3d311666d29877a5a19444b5c1ae272c85f5b1d89:922c64590222798bb761d5b6d8e72950