49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
id: wordpress-wordfence
|
||
|
||
info:
|
||
name: Wordfence Security – Firewall, Malware Scan, and Login Security Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/wordfence/
|
||
metadata:
|
||
plugin_namespace: wordfence
|
||
wpscan: https://wpscan.com/plugin/wordfence
|
||
tags: tech,wordpress,wp-plugin,top-100,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/wordfence/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/wordfence.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: 490a0046304402206aa31f5a7c461fdb586f0f94616da0c544cbf572e816a0ee54dbd82584054acb0220362d2d059139dd50a13ddb18b9f34802273007a88dd69ef9b0af8b32ab6a7cb4:922c64590222798bb761d5b6d8e72950 |