mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 01:03:34 +08:00
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
id: wordpress-updraftplus
|
|
|
|
info:
|
|
name: UpdraftPlus' WP Backup & Migration Plugin Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/updraftplus/
|
|
metadata:
|
|
plugin_namespace: updraftplus
|
|
wpscan: https://wpscan.com/plugin/updraftplus
|
|
tags: tech,wordpress,wp-plugin,top-100,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/updraftplus/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/updraftplus.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: 4a0a0047304502206ed638f82b4e4a66f45c1d073328a47c71070831188fe9f0f466966fafa85a5a02210081c338ff1168e98a9aba0eade671437af4fe30867c305d6af15745ef4d3a052e:922c64590222798bb761d5b6d8e72950 |