50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
id: wordpress-newsletter
|
||
|
||
info:
|
||
name: Newsletter – Send awesome emails from WordPress Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/newsletter/
|
||
metadata:
|
||
plugin_namespace: newsletter
|
||
wpscan: https://wpscan.com/plugin/newsletter
|
||
tags: tech,wordpress,wp-plugin,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/newsletter/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/newsletter.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: 4a0a00473045022100ec6e645911f5dda4a2d47a1c163052c688a21297775974df8a46cbcda9dac66c0220081548c2d2c42f1eee1be6398b0aeaf3a99363dc212999273dc23d5aa1e1e3a5:922c64590222798bb761d5b6d8e72950 |