50 lines
1.3 KiB
YAML
50 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:
|
||
max-request: 1
|
||
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: 4a0a00473045022100e82e7575d92b5d9a1bce84ee2e75fb889dd9af4d961cb3ba491f16c085da91a9022076fd69d6952dc7d0081d69dd4af2a8795b11fdc7a48bebcba46d25759085ce75:922c64590222798bb761d5b6d8e72950 |