mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-02 08:43:27 +08:00
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
id: wordpress-wp-user-avatar
|
||
|
||
info:
|
||
name: Paid Membership Plugin, Ecommerce, Registration Form, Login Form, User Profile & Restrict Content – ProfilePress Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/wp-user-avatar/
|
||
metadata:
|
||
max-request: 1
|
||
plugin_namespace: wp-user-avatar
|
||
wpscan: https://wpscan.com/plugin/wp-user-avatar
|
||
tags: tech,wordpress,wp-plugin,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/wp-user-avatar/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/wp-user-avatar.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: 490a00463044022019a16c8f066d7e60bccdf73265732c3af1325d54dfd90fb1a3301cad011f1646022021e738008e359aa2e081c8a90c70bac8b138694331091cb918b1dd01315422ba:922c64590222798bb761d5b6d8e72950 |