mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-16 07:33:29 +08:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
id: wordpress-kadence-blocks
|
||
|
||
info:
|
||
name: Gutenberg Blocks with AI by Kadence WP – Page Builder Features Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/kadence-blocks/
|
||
metadata:
|
||
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: 4a0a00473045022053efc2a7915d7cd2f2f6eaf2247234c435796967536556186f4c6fd14b0e2203022100a97c38ed2155df035e45ca53c3b24cfdfe6bdbc3bf7a2adf9e7af1f4412b9b8c:922c64590222798bb761d5b6d8e72950 |