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: 4b0a00483046022100c27ae014a002aa3d3649176bcddf5567daec03e00c7e5b7174a2ddc1cf26ff0702210082e884019581bc7c5bef8705e56b4d48f2826065562d2d145f55b341d0de32fa:922c64590222798bb761d5b6d8e72950 |