50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
id: wordpress-force-regenerate-thumbnails
|
|
|
|
info:
|
|
name: Force Regenerate Thumbnails Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/force-regenerate-thumbnails/
|
|
metadata:
|
|
max-request: 1
|
|
plugin_namespace: force-regenerate-thumbnails
|
|
wpscan: https://wpscan.com/plugin/force-regenerate-thumbnails
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/force-regenerate-thumbnails/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/force-regenerate-thumbnails.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: 4b0a00483046022100b10bb32bc79aec2059e3f5c1bad91272207b0da126ec1ce7ce804508dfe8b6f9022100eca670cb1543143c6574b2ae66e0ddc4bc2f064afeb8ddb807ee5c7a83260a88:922c64590222798bb761d5b6d8e72950 |