nuclei-templates/http/technologies/wordpress/plugins/child-theme-configurator.yaml

50 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: 4b0a00483046022100e98dd468a62e8768d87cef35610a1e020108bb4bedab9ba26d8b6797d4743238022100d9dc4dead9d61ba08e97667952e2e04c5099fa3f1dc93469616a8ce2317581e5:922c64590222798bb761d5b6d8e72950