49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
id: wordpress-backwpup
|
||
|
||
info:
|
||
name: BackWPup – WordPress Backup & Restore Plugin Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/backwpup/
|
||
metadata:
|
||
plugin_namespace: backwpup
|
||
wpscan: https://wpscan.com/plugin/backwpup
|
||
tags: tech,wordpress,wp-plugin,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/backwpup/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/backwpup.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: 490a0046304402206fd07012dcc178f687908f22f9c5c67ef187c8adf3877ed145d35a637f0f1a820220670d0a42f3afdf1a1ffacda860b0708bea0aa356b5d2ad1e604f6b8cc4d50fbb:922c64590222798bb761d5b6d8e72950 |