mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-05 18:23:57 +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: 4b0a00483046022100b9b00ad4428cbeb684eb49336baaa5317a12f775db38510d631fe6e6c2dc84e6022100e2e08caf1ee3c83b1c6af6e137952a6ca8b4c33cb8c4f066e9164049f44365c8:922c64590222798bb761d5b6d8e72950
|