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

50 lines
1.3 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:
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: 490a0046304402205883b6bd1bc2b51d8769f0830b8bd007c9853d88bf32e652804499811c05964402207eef3526d8a758bf3f45919b25db923138baab886e818750ea094243bad6a895:922c64590222798bb761d5b6d8e72950