mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-08 19:53:15 +08:00
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
id: wordpress-post-smtp
|
||
|
||
info:
|
||
name: Post SMTP – WordPress SMTP Plugin with Email Logs and Mobile App for Failure Notifications – Gmail SMTP, Office 365, Brevo, Mailgun, Amazon SES and more Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/post-smtp/
|
||
metadata:
|
||
plugin_namespace: post-smtp
|
||
wpscan: https://wpscan.com/plugin/post-smtp
|
||
tags: tech,wordpress,wp-plugin,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/post-smtp/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/post-smtp.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: 4a0a004730450220284b25572cc78338c5ec1fd59aa8a3e5cb38d9c1efd02dbf46735beeac68cb14022100fb52b40a64b9491f2610f798fe4dd6a4f2cbd50eb7c0c861f9d3cb4d033273bd:922c64590222798bb761d5b6d8e72950 |