52 lines
1.3 KiB
YAML
52 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:
|
||
max-request: 1
|
||
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: 4a0a00473045022100b8d3cbf7504356228e2a2e35c37a0c3cacdd7b917aa951eedbffcbf002cee1cf02206a2b873444da544b10be917c97c2e826116b379a3a07c33e7136d62c4b1a5cc9:922c64590222798bb761d5b6d8e72950
|