mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-14 22:53:46 +08:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
id: wordpress-mainwp-child
|
||
|
||
info:
|
||
name: MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/mainwp-child/
|
||
metadata:
|
||
plugin_namespace: mainwp-child
|
||
wpscan: https://wpscan.com/plugin/mainwp-child
|
||
tags: tech,wordpress,wp-plugin,top-100,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/mainwp-child/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/mainwp-child.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: 480a00453043022016858f185fdf872fe91e7f259302d5be929849003b867bee40e4cba99a92e06b021f3484e823a5d44691f4ce6d0ceb2dff0507a29f50f43c00569ec48f82f7a909:922c64590222798bb761d5b6d8e72950 |