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: 4a0a004730450221009b3aaa1ff4a08cc50f2298a5a04795dd17cc4f8f06ea77c76ed30feb8ee95bdb02206a2fb45c75a991c02c587a138fcc6f201399590ed8fcfd4ab92494f3e171d4ba:922c64590222798bb761d5b6d8e72950
|