50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
id: wordpress-nextend-facebook-connect
|
|
|
|
info:
|
|
name: Nextend Social Login and Register Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/nextend-facebook-connect/
|
|
metadata:
|
|
max-request: 1
|
|
plugin_namespace: nextend-facebook-connect
|
|
wpscan: https://wpscan.com/plugin/nextend-facebook-connect
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/nextend-facebook-connect/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/nextend-facebook-connect.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: 490a0046304402206d9149549d606fee366c96d72ea87cc4b237c27984a0a2e9367c119bf1a980e402200a04889a27ebc1f87d56145ee09cc299cfa43acc61acc820716aaa273a7b2e58:922c64590222798bb761d5b6d8e72950 |