52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
id: wordpress-child-theme-configurator
|
|
|
|
info:
|
|
name: Child Theme Configurator Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/child-theme-configurator/
|
|
metadata:
|
|
max-request: 1
|
|
plugin_namespace: child-theme-configurator
|
|
wpscan: https://wpscan.com/plugin/child-theme-configurator
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/child-theme-configurator/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/child-theme-configurator.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: 4a0a00473045022100ca9787c334b70e53ce7f044752e98afa2159159d5ae2d06749a8f38db7513d1902205b920ffda2d3869243d580db95e39339a40a269a670c660e14f8b7eb92239061:922c64590222798bb761d5b6d8e72950
|