49 lines
1.3 KiB
YAML
49 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: 4a0a00473045022100a689b7a35209f19c4ba726e2638e08dda198640ed2e3fa74277f7e696084a716022034019d6cf0169bcd4fda1bb07cde2439798885df8739c682134f5f737ec6de22:922c64590222798bb761d5b6d8e72950 |