mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-11 13:13:26 +08:00
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
id: wordpress-kirki
|
|
|
|
info:
|
|
name: Kirki Customizer Framework Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/kirki/
|
|
metadata:
|
|
plugin_namespace: kirki
|
|
wpscan: https://wpscan.com/plugin/kirki
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/kirki/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/kirki.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: 490a0046304402202af8eac2cf4db1eecd939a91653354d9422636f46e62bf9829dfbcfc6aee76b7022049eb8ff0a96016b97f357e0ad2954ebb6f35d3160349cb3e062034400a991b28:922c64590222798bb761d5b6d8e72950 |