52 lines
1.3 KiB
YAML
52 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: 4a0a00473045022100ebd5c0403efb58049b59cc164a29153e9ddc98f701dc248cfda8d4c65483c64d02203c9fa352ca3837d78ad8f29bb1f2ec4dce5ac618a3bcc3a816fa8bf70a4a4e2e:922c64590222798bb761d5b6d8e72950
|