mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-08 11:43:17 +08:00
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: 490a0046304402200dbd24c689c29516c82bb6b278286b971520326ab303851ec5035ec810a9890c022038676679e4875efda5c407c7357311e4119dde9949dff10b93f3d7d04a9f994c:922c64590222798bb761d5b6d8e72950
|