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