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